MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getWeakRefFinalizerClassDef

Function getWeakRefFinalizerClassDef

valdi/src/valdi/quickjs/QuickJSUtils.cpp:129–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127 return prototype;
128 }
129 auto object = JS_NewObjectProtoClass(context, prototype, getWrappedObjectClassDef()->classID);
130 JS_FreeValue(context, prototype);
131 if (JS_IsException(object)) {
132 return object;
133 }
134 callContext.setThisValue(toValdiJSValue(object));
135
136 if (handleInterrupt(valdiJsContext, exceptionTracker)) {

Callers 2

onInitializeMethod · 0.85

Calls 1

Tested by

no test coverage detected