forked from cory/tildefriends
quickjs-2021-03-27.tar.xz
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3649 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
9
deps/quickjs/doc/quickjs.html
vendored
9
deps/quickjs/doc/quickjs.html
vendored
@ -1136,10 +1136,11 @@ set the C opaque point with
|
||||
<code>JS_GetOpaque()</code>/<code>JS_SetOpaque()</code>.
|
||||
</p>
|
||||
<p>When defining a new JS class, it is possible to declare a finalizer
|
||||
which is called when the object is destroyed. A <code>gc_mark</code> method
|
||||
can be provided so that the cycle removal algorithm can find the other
|
||||
objects referenced by this object. Other methods are available to
|
||||
define exotic object behaviors.
|
||||
which is called when the object is destroyed. The finalizer should be
|
||||
used to release C resources. It is invalid to execute JS code from
|
||||
it. A <code>gc_mark</code> method can be provided so that the cycle removal
|
||||
algorithm can find the other objects referenced by this object. Other
|
||||
methods are available to define exotic object behaviors.
|
||||
</p>
|
||||
<p>The Class ID are globally allocated (i.e. for all runtimes). The
|
||||
JSClass are allocated per <code>JSRuntime</code>. <code>JS_SetClassProto()</code>
|
||||
|
BIN
deps/quickjs/doc/quickjs.pdf
vendored
BIN
deps/quickjs/doc/quickjs.pdf
vendored
Binary file not shown.
9
deps/quickjs/doc/quickjs.texi
vendored
9
deps/quickjs/doc/quickjs.texi
vendored
@ -896,10 +896,11 @@ set the C opaque point with
|
||||
@code{JS_GetOpaque()}/@code{JS_SetOpaque()}.
|
||||
|
||||
When defining a new JS class, it is possible to declare a finalizer
|
||||
which is called when the object is destroyed. A @code{gc_mark} method
|
||||
can be provided so that the cycle removal algorithm can find the other
|
||||
objects referenced by this object. Other methods are available to
|
||||
define exotic object behaviors.
|
||||
which is called when the object is destroyed. The finalizer should be
|
||||
used to release C resources. It is invalid to execute JS code from
|
||||
it. A @code{gc_mark} method can be provided so that the cycle removal
|
||||
algorithm can find the other objects referenced by this object. Other
|
||||
methods are available to define exotic object behaviors.
|
||||
|
||||
The Class ID are globally allocated (i.e. for all runtimes). The
|
||||
JSClass are allocated per @code{JSRuntime}. @code{JS_SetClassProto()}
|
||||
|
Reference in New Issue
Block a user