mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[document] document_finalize
This commit is contained in:
parent
8eaef2f5c4
commit
f5463b8758
@ -64,6 +64,13 @@ static JSObject *getDoctype(JSContext *ctx, void *node);
|
|||||||
|
|
||||||
static bool document_get_property(JSContext *ctx, JS::HandleObject hobj, JS::HandleId hid, JS::MutableHandleValue hvp);
|
static bool document_get_property(JSContext *ctx, JS::HandleObject hobj, JS::HandleId hid, JS::MutableHandleValue hvp);
|
||||||
|
|
||||||
|
static void document_finalize(JSFreeOp *op, JSObject *obj)
|
||||||
|
{
|
||||||
|
#ifdef ECMASCRIPT_DEBUG
|
||||||
|
fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
JSClassOps document_ops = {
|
JSClassOps document_ops = {
|
||||||
nullptr, // addProperty
|
nullptr, // addProperty
|
||||||
nullptr, // deleteProperty
|
nullptr, // deleteProperty
|
||||||
@ -71,7 +78,7 @@ JSClassOps document_ops = {
|
|||||||
nullptr, // newEnumerate
|
nullptr, // newEnumerate
|
||||||
nullptr, // resolve
|
nullptr, // resolve
|
||||||
nullptr, // mayResolve
|
nullptr, // mayResolve
|
||||||
nullptr, // finalize
|
document_finalize, // finalize
|
||||||
nullptr, // call
|
nullptr, // call
|
||||||
nullptr, // hasInstance
|
nullptr, // hasInstance
|
||||||
nullptr, // construct
|
nullptr, // construct
|
||||||
|
Loading…
x
Reference in New Issue
Block a user