1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[smjs] nullptr for ClassOps

This commit is contained in:
Witold Filipczyk 2021-08-26 18:39:03 +02:00
parent 34e878a0da
commit 630696da59

View File

@ -36,14 +36,17 @@ static void session_finalize(JSFreeOp *op, JSObject *obj);
static bool session_construct(JSContext *ctx, unsigned int argc, JS::Value *rval);
static const JSClassOps session_ops = {
nullptr, /* addProperty */
nullptr, /* delProperty */
session_get_property, /* enumerate */
session_set_property, /* newEnumerate */
nullptr, /* resolve */
nullptr, /* mayResolve */
session_finalize, //TypeDescr::finalize,
session_construct//ScalarTypeDescr::call
nullptr, // addProperty
nullptr, // deleteProperty
nullptr, // enumerate
nullptr, // newEnumerate
nullptr, // resolve
nullptr, // mayResolve
nullptr, // finalize
nullptr, // call
nullptr, // hasInstance
nullptr, // construct
nullptr // trace JS_GlobalObjectTraceHook
};
static const JSClass session_class = {