1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00

[document] document_finalize

This commit is contained in:
Witold Filipczyk 2021-10-10 15:03:03 +02:00
parent 8eaef2f5c4
commit f5463b8758

View File

@ -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 void document_finalize(JSFreeOp *op, JSObject *obj)
{
#ifdef ECMASCRIPT_DEBUG
fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__);
#endif
}
JSClassOps document_ops = {
nullptr, // addProperty
nullptr, // deleteProperty
@ -71,7 +78,7 @@ JSClassOps document_ops = {
nullptr, // newEnumerate
nullptr, // resolve
nullptr, // mayResolve
nullptr, // finalize
document_finalize, // finalize
nullptr, // call
nullptr, // hasInstance
nullptr, // construct