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

[ecmascript] window_finalize

This commit is contained in:
Witold Filipczyk 2021-10-11 19:21:12 +02:00
parent f5463b8758
commit b4db207725

View File

@ -53,6 +53,14 @@ static bool window_get_property_status(JSContext *ctx, unsigned int argc, JS::Va
static bool window_set_property_status(JSContext *ctx, unsigned int argc, JS::Value *vp);
static bool window_get_property_top(JSContext *ctx, unsigned int argc, JS::Value *vp);
static void window_finalize(JSFreeOp *op, JSObject *obj)
{
#ifdef ECMASCRIPT_DEBUG
fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__);
#endif
}
JSClassOps window_ops = {
nullptr, // addProperty
nullptr, // deleteProperty
@ -60,7 +68,7 @@ JSClassOps window_ops = {
nullptr, // newEnumerate
nullptr, // resolve
nullptr, // mayResolve
nullptr, // finalize
window_finalize, // finalize
nullptr, // call
nullptr, // hasInstance
nullptr, // construct