15 lines
1.1 KiB
JavaScript
15 lines
1.1 KiB
JavaScript
var js = this
|
|
|
|
js.dump_shapes[prosperon.DOC] = "Return a debug string describing the internal shape hierarchy used by QuickJS."
|
|
js.dump_atoms[prosperon.DOC] = "Return a debug string describing all currently registered atoms in the QuickJS runtime."
|
|
js.calc_mem[prosperon.DOC] = "Return the approximate memory usage of a single JS value."
|
|
js.mem[prosperon.DOC] = "Return a comprehensive memory usage object for the current QuickJS runtime."
|
|
js.mem_limit[prosperon.DOC] = "Set (in bytes) the maximum memory the QuickJS runtime will attempt to use."
|
|
js.gc_threshold[prosperon.DOC] = "Set the threshold at which garbage collection triggers automatically, in bytes."
|
|
js.max_stacksize[prosperon.DOC] = "Set the maximum allowed stack size for QuickJS. Exceeding it can cause errors."
|
|
js.memstate[prosperon.DOC] = "Return simpler memory usage (malloc sizes, etc.) for the QuickJS runtime."
|
|
js.gc[prosperon.DOC] = "Force a full garbage collection immediately."
|
|
js.eval[prosperon.DOC] = "Evaluate the given JavaScript source string with an optional filename, returning the result."
|
|
|
|
return js
|