Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include "duk_internal.h"
Go to the source code of this file.
Functions | |
DUK_EXTERNAL duk_context * | duk_create_heap (duk_alloc_function alloc_func, duk_realloc_function realloc_func, duk_free_function free_func, void *heap_udata, duk_fatal_function fatal_handler) |
DUK_EXTERNAL void | duk_destroy_heap (duk_context *ctx) |
DUK_EXTERNAL void | duk_set_global_object (duk_context *ctx) |
DUK_EXTERNAL duk_context * duk_create_heap | ( | duk_alloc_function | alloc_func, |
duk_realloc_function | realloc_func, | ||
duk_free_function | free_func, | ||
void * | heap_udata, | ||
duk_fatal_function | fatal_handler ) |
Definition at line 8 of file duktape-1.5.2/src-separate/duk_api_heap.c.
References DUK_ASSERT, DUK_D, duk_default_alloc_function(), duk_default_fatal_handler(), duk_default_free_function(), duk_default_realloc_function(), DUK_DPRINT, duk_heap_alloc(), duk_heap::heap_thread, and NULL.
DUK_EXTERNAL void duk_destroy_heap | ( | duk_context * | ctx | ) |
Definition at line 59 of file duktape-1.5.2/src-separate/duk_api_heap.c.
References DUK_ASSERT, duk_heap_free(), duk_hthread::heap, and NULL.
DUK_EXTERNAL void duk_set_global_object | ( | duk_context * | ctx | ) |
Definition at line 73 of file duktape-1.5.2/src-separate/duk_api_heap.c.
References duk_hthread::builtins, DUK_ASSERT, DUK_BIDX_GLOBAL, DUK_BIDX_GLOBAL_ENV, DUK_D, DUK_DPRINT, duk_dup(), duk_get_hobject(), duk_get_tval(), DUK_HOBJECT_CLASS_AS_FLAGS, DUK_HOBJECT_CLASS_OBJENV, DUK_HOBJECT_DECREF_ALLOWNULL, DUK_HOBJECT_FLAG_EXTENSIBLE, DUK_HOBJECT_INCREF, duk_pop_2(), DUK_PROPDESC_FLAGS_NONE, duk_push_object_helper(), duk_require_hobject(), DUK_STRIDX_INT_TARGET, DUK_STRIDX_INT_THIS, DUK_UNREF, duk_xdef_prop_stridx(), and NULL.