Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include "duk_internal.h"
Go to the source code of this file.
Data Structures | |
struct | duk_internal_thread_state |
Typedefs | |
typedef struct duk_internal_thread_state | duk_internal_thread_state |
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_suspend (duk_context *ctx, duk_thread_state *state) |
DUK_EXTERNAL void | duk_resume (duk_context *ctx, const duk_thread_state *state) |
DUK_EXTERNAL void | duk_set_global_object (duk_context *ctx) |
typedef struct duk_internal_thread_state duk_internal_thread_state |
Definition at line 7 of file duktape-1.8.0/src-separate/duk_api_heap.c.
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 17 of file duktape-1.8.0/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 68 of file duktape-1.8.0/src-separate/duk_api_heap.c.
References DUK_ASSERT, duk_heap_free(), duk_hthread::heap, and NULL.
DUK_EXTERNAL void duk_resume | ( | duk_context * | ctx, |
const duk_thread_state * | state ) |
Definition at line 112 of file duktape-1.8.0/src-separate/duk_api_heap.c.
References duk_heap::call_recursion_depth, duk_internal_thread_state::call_recursion_depth, duk_heap::curr_thread, duk_internal_thread_state::curr_thread, DUK_ASSERT, DUK_ASSERT_CTX_VALID, DUK_MEMCPY, duk_pop_2(), duk_heap::handling_error, duk_internal_thread_state::handling_error, duk_hthread::heap, duk_heap::lj, duk_internal_thread_state::lj, and NULL.
DUK_EXTERNAL void duk_set_global_object | ( | duk_context * | ctx | ) |
Definition at line 133 of file duktape-1.8.0/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.
DUK_EXTERNAL void duk_suspend | ( | duk_context * | ctx, |
duk_thread_state * | state ) |
Definition at line 81 of file duktape-1.8.0/src-separate/duk_api_heap.c.
References duk_heap::call_recursion_depth, duk_internal_thread_state::call_recursion_depth, duk_heap::curr_thread, duk_internal_thread_state::curr_thread, DUK_ASSERT, DUK_ASSERT_CTX_VALID, DUK_LJ_TYPE_UNKNOWN, DUK_MEMCPY, duk_push_tval(), DUK_TVAL_SET_UNDEFINED, duk_heap::handling_error, duk_internal_thread_state::handling_error, duk_hthread::heap, duk_ljstate::jmpbuf_ptr, duk_heap::lj, duk_internal_thread_state::lj, NULL, duk_ljstate::type, duk_ljstate::value1, and duk_ljstate::value2.