Expand description
EXPERIMENTAL: Low-level, unsafe wrapper arround the duktape API.
Note that some of this code is generated based on the specific compiler, operating system and processor, so various details may change depending on the system you’re targeting. Do not assume that constants or integer sizes are the same everywhere!
We do not yet provide replacements for duktape function macros, but pull requests are very welcome.
Structs§
Constants§
- DUK_
API_ ENTRY_ STACK - DUK_
COMPILE_ EVAL - DUK_
COMPILE_ FUNCTION - DUK_
COMPILE_ NORESULT - DUK_
COMPILE_ NOSOURCE - DUK_
COMPILE_ SAFE - DUK_
COMPILE_ STRICT - DUK_
COMPILE_ STRLEN - DUK_
ENUM_ ARRAY_ INDICES_ ONLY - DUK_
ENUM_ INCLUDE_ INTERNAL - DUK_
ENUM_ INCLUDE_ NONENUMERABLE - DUK_
ENUM_ NO_ PROXY_ BEHAVIOR - DUK_
ENUM_ OWN_ PROPERTIES_ ONLY - DUK_
ENUM_ SORT_ ARRAY_ INDICES - DUK_
ERR_ ALLOC_ ERROR - DUK_
ERR_ API_ ERROR - DUK_
ERR_ ASSERTION_ ERROR - DUK_
ERR_ ERROR - DUK_
ERR_ EVAL_ ERROR - DUK_
ERR_ INTERNAL_ ERROR - DUK_
ERR_ RANGE_ ERROR - DUK_
ERR_ REFERENCE_ ERROR - DUK_
ERR_ SYNTAX_ ERROR - DUK_
ERR_ TYPE_ ERROR - DUK_
ERR_ UNCAUGHT_ ERROR - DUK_
ERR_ UNIMPLEMENTED_ ERROR - DUK_
ERR_ UNSUPPORTED_ ERROR - DUK_
ERR_ URI_ ERROR - DUK_
EXEC_ ERROR - DUK_
EXEC_ SUCCESS - DUK_
HINT_ NONE - DUK_
HINT_ NUMBER - DUK_
HINT_ STRING - DUK_
INVALID_ INDEX - DUK_
LOG_ DEBUG - DUK_
LOG_ ERROR - DUK_
LOG_ FATAL - DUK_
LOG_ INFO - DUK_
LOG_ TRACE - DUK_
LOG_ WARN - DUK_
RET_ ALLOC_ ERROR - DUK_
RET_ API_ ERROR - DUK_
RET_ ASSERTION_ ERROR - DUK_
RET_ ERROR - DUK_
RET_ EVAL_ ERROR - DUK_
RET_ INTERNAL_ ERROR - DUK_
RET_ RANGE_ ERROR - DUK_
RET_ REFERENCE_ ERROR - DUK_
RET_ SYNTAX_ ERROR - DUK_
RET_ TYPE_ ERROR - DUK_
RET_ UNCAUGHT_ ERROR - DUK_
RET_ UNIMPLEMENTED_ ERROR - DUK_
RET_ UNSUPPORTED_ ERROR - DUK_
RET_ URI_ ERROR - DUK_
STRING_ PUSH_ SAFE - DUK_
THREAD_ NEW_ GLOBAL_ ENV - DUK_
TYPE_ BOOLEAN - DUK_
TYPE_ BUFFER - DUK_
TYPE_ MASK_ BOOLEAN - DUK_
TYPE_ MASK_ BUFFER - DUK_
TYPE_ MASK_ NONE - DUK_
TYPE_ MASK_ NULL - DUK_
TYPE_ MASK_ NUMBER - DUK_
TYPE_ MASK_ OBJECT - DUK_
TYPE_ MASK_ POINTER - DUK_
TYPE_ MASK_ STRING - DUK_
TYPE_ MASK_ THROW - DUK_
TYPE_ MASK_ UNDEFINED - DUK_
TYPE_ NONE - DUK_
TYPE_ NULL - DUK_
TYPE_ NUMBER - DUK_
TYPE_ OBJECT - DUK_
TYPE_ POINTER - DUK_
TYPE_ STRING - DUK_
TYPE_ UNDEFINED - DUK_
VARARGS - DUK_
VERSION
Functions§
- duk_
alloc ⚠ - duk_
alloc_ ⚠raw - duk_
base64_ ⚠decode - duk_
base64_ ⚠encode - duk_
call ⚠ - duk_
call_ ⚠method - duk_
call_ ⚠prop - duk_
char_ ⚠code_ at - duk_
check_ ⚠stack - duk_
check_ ⚠stack_ top - duk_
check_ ⚠type - duk_
check_ ⚠type_ mask - duk_
compact ⚠ - duk_
compile_ ⚠raw - duk_
concat ⚠ - duk_
copy ⚠ - duk_
create_ ⚠heap - duk_
decode_ ⚠string - duk_
del_ ⚠prop - duk_
del_ ⚠prop_ index - duk_
del_ ⚠prop_ string - duk_
del_ ⚠var - duk_
destroy_ ⚠heap - duk_dup⚠
- duk_
dup_ ⚠top - duk_
enum ⚠ - duk_
equals ⚠ - duk_
error_ ⚠raw - duk_
eval_ ⚠raw - duk_
fatal ⚠ - duk_
free ⚠ - duk_
free_ ⚠raw - duk_gc⚠
- duk_
get_ ⚠boolean - duk_
get_ ⚠buffer - duk_
get_ ⚠c_ function - duk_
get_ ⚠context - duk_
get_ ⚠current_ magic - duk_
get_ ⚠finalizer - duk_
get_ ⚠global_ string - duk_
get_ ⚠int - duk_
get_ ⚠length - duk_
get_ ⚠lstring - duk_
get_ ⚠magic - duk_
get_ ⚠memory_ functions - duk_
get_ ⚠number - duk_
get_ ⚠pointer - duk_
get_ ⚠prop - duk_
get_ ⚠prop_ index - duk_
get_ ⚠prop_ string - duk_
get_ ⚠prototype - duk_
get_ ⚠string - duk_
get_ ⚠top - duk_
get_ ⚠top_ index - duk_
get_ ⚠type - duk_
get_ ⚠type_ mask - duk_
get_ ⚠uint - duk_
get_ ⚠var - duk_
has_ ⚠prop - duk_
has_ ⚠prop_ index - duk_
has_ ⚠prop_ string - duk_
has_ ⚠var - duk_
hex_ ⚠decode - duk_
hex_ ⚠encode - duk_
insert ⚠ - duk_
is_ ⚠array - duk_
is_ ⚠boolean - duk_
is_ ⚠bound_ function - duk_
is_ ⚠buffer - duk_
is_ ⚠c_ function - duk_
is_ ⚠callable - duk_
is_ ⚠constructor_ call - duk_
is_ ⚠dynamic_ buffer - duk_
is_ ⚠ecmascript_ function - duk_
is_ ⚠fixed_ buffer - duk_
is_ ⚠function - duk_
is_ ⚠nan - duk_
is_ ⚠null - duk_
is_ ⚠null_ or_ undefined - duk_
is_ ⚠number - duk_
is_ ⚠object - duk_
is_ ⚠pointer - duk_
is_ ⚠primitive - duk_
is_ ⚠strict_ call - duk_
is_ ⚠string - duk_
is_ ⚠thread - duk_
is_ ⚠undefined - duk_
is_ ⚠valid_ index - duk_
join ⚠ - duk_
json_ ⚠decode - duk_
json_ ⚠encode - duk_log⚠
- duk_
map_ ⚠string - duk_new⚠
- duk_
next ⚠ - duk_
normalize_ ⚠index - duk_
pcall ⚠ - duk_
pcall_ ⚠method - duk_
pcall_ ⚠prop - duk_pop⚠
- duk_
pop_ ⚠2 - duk_
pop_ ⚠3 - duk_
pop_ ⚠n - duk_
push_ ⚠array - duk_
push_ ⚠boolean - duk_
push_ ⚠buffer - duk_
push_ ⚠c_ function - duk_
push_ ⚠context_ dump - duk_
push_ ⚠current_ function - duk_
push_ ⚠current_ thread - duk_
push_ ⚠dynamic_ buffer - duk_
push_ ⚠error_ object_ raw - duk_
push_ ⚠error_ object_ string - A wrapper around duk_push_error_object, which relies on varargs in the original API.
- duk_
push_ ⚠false - duk_
push_ ⚠fixed_ buffer - duk_
push_ ⚠global_ object - duk_
push_ ⚠global_ stash - duk_
push_ ⚠heap_ stash - duk_
push_ ⚠int - duk_
push_ ⚠lstring - duk_
push_ ⚠nan - duk_
push_ ⚠null - duk_
push_ ⚠number - duk_
push_ ⚠object - duk_
push_ ⚠pointer - duk_
push_ ⚠sprintf - duk_
push_ ⚠string - duk_
push_ ⚠string_ file_ raw - duk_
push_ ⚠this - duk_
push_ ⚠thread_ raw - duk_
push_ ⚠thread_ stash - duk_
push_ ⚠true - duk_
push_ ⚠uint - duk_
push_ ⚠undefined - duk_
put_ ⚠function_ list - duk_
put_ ⚠global_ string - duk_
put_ ⚠number_ list - duk_
put_ ⚠prop - duk_
put_ ⚠prop_ index - duk_
put_ ⚠prop_ string - duk_
put_ ⚠var - duk_
realloc ⚠ - duk_
realloc_ ⚠raw - duk_
remove ⚠ - duk_
replace ⚠ - duk_
require_ ⚠boolean - duk_
require_ ⚠buffer - duk_
require_ ⚠c_ function - duk_
require_ ⚠context - duk_
require_ ⚠int - duk_
require_ ⚠lstring - duk_
require_ ⚠normalize_ index - duk_
require_ ⚠null - duk_
require_ ⚠number - duk_
require_ ⚠pointer - duk_
require_ ⚠stack - duk_
require_ ⚠stack_ top - duk_
require_ ⚠string - duk_
require_ ⚠top_ index - duk_
require_ ⚠uint - duk_
require_ ⚠undefined - duk_
require_ ⚠valid_ index - duk_
resize_ ⚠buffer - duk_
safe_ ⚠call - duk_
safe_ ⚠to_ lstring - duk_
set_ ⚠finalizer - duk_
set_ ⚠global_ object - duk_
set_ ⚠magic - duk_
set_ ⚠prototype - duk_
set_ ⚠top - duk_
strict_ ⚠equals - duk_
substring ⚠ - duk_
swap ⚠ - duk_
swap_ ⚠top - duk_
throw ⚠ - duk_
to_ ⚠boolean - duk_
to_ ⚠buffer - duk_
to_ ⚠defaultvalue - duk_
to_ ⚠dynamic_ buffer - duk_
to_ ⚠fixed_ buffer - duk_
to_ ⚠int - duk_
to_ ⚠int32 - duk_
to_ ⚠lstring - duk_
to_ ⚠null - duk_
to_ ⚠number - duk_
to_ ⚠object - duk_
to_ ⚠pointer - duk_
to_ ⚠primitive - duk_
to_ ⚠string - duk_
to_ ⚠uint - duk_
to_ ⚠uint16 - duk_
to_ ⚠uint32 - duk_
to_ ⚠undefined - duk_
trim ⚠ - duk_
xcopymove_ ⚠raw
Type Aliases§
- duk_
alloc_ function - duk_
bool_ t - duk_
c_ function - duk_
codepoint_ t - duk_
context - duk_
decode_ char_ function - duk_
double_ t - duk_
errcode_ t - duk_
fatal_ function - duk_
free_ function - duk_
function_ list_ entry - duk_
idx_ t - duk_
int32_ t - duk_
int_ t - duk_
map_ char_ function - duk_
memory_ functions - duk_
number_ list_ entry - duk_
ptrdiff_ t - duk_
realloc_ function - duk_
ret_ t - duk_
safe_ call_ function - duk_
size_ t - duk_
uarridx_ t - duk_
ucodepoint_ t - duk_
uint16_ t - duk_
uint32_ t - duk_
uint_ t