OVMS3/OVMS.V3/components/duktape/examples/cmdline/duk_cmdline.h

16 lines
543 B
C

#if !defined(DUK_CMDLINE_H_INCLUDED)
#define DUK_CMDLINE_H_INCLUDED
/* Defined in duk_cmdline_lowmem.c. */
extern void *lowmem_pool_ptr;
void lowmem_init(void);
void lowmem_free(void);
void lowmem_dump(void);
void lowmem_register(duk_context *ctx);
void lowmem_start_exec_timeout(void);
void lowmem_clear_exec_timeout(void);
void *lowmem_alloc_wrapped(void *udata, duk_size_t size);
void *lowmem_realloc_wrapped(void *udata, void *ptr, duk_size_t size);
void lowmem_free_wrapped(void *udata, void *ptr);
#endif /* DUK_CMDLINE_H_INCLUDED */