1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-28 03:06:20 -04:00

[spidermonkey] location_finalize

This commit is contained in:
Witold Filipczyk 2021-10-12 17:56:47 +02:00
parent b4db207725
commit a456f3824d

View File

@ -199,6 +199,13 @@ static bool location_set_property_protocol(JSContext *ctx, unsigned int argc, JS
static bool location_get_property_search(JSContext *ctx, unsigned int argc, JS::Value *vp); static bool location_get_property_search(JSContext *ctx, unsigned int argc, JS::Value *vp);
static bool location_set_property_search(JSContext *ctx, unsigned int argc, JS::Value *vp); static bool location_set_property_search(JSContext *ctx, unsigned int argc, JS::Value *vp);
static void location_finalize(JSFreeOp *op, JSObject *obj)
{
#ifdef ECMASCRIPT_DEBUG
fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__);
#endif
}
JSClassOps location_ops = { JSClassOps location_ops = {
nullptr, // addProperty nullptr, // addProperty
nullptr, // deleteProperty nullptr, // deleteProperty
@ -206,7 +213,7 @@ JSClassOps location_ops = {
nullptr, // newEnumerate nullptr, // newEnumerate
nullptr, // resolve nullptr, // resolve
nullptr, // mayResolve nullptr, // mayResolve
nullptr, // finalize location_finalize, // finalize
nullptr, // call nullptr, // call
nullptr, // hasInstance nullptr, // hasInstance
nullptr, // construct nullptr, // construct