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

Function jsWeakRefFinalizerFinalize

valdi/src/valdi/quickjs/QuickJSUtils.cpp:65–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 }
64
65 auto result = functionData->callback(instanceData->getOpaque().get(), callContext);
66 if (VALDI_LIKELY(exceptionTracker)) {
67 return JS_DupValue(context, fromValdiJSValue(result.get()));
68 }
69 return onJsCallError(context, exceptionTracker);
70}
71
72static JSValue callNativeClassStaticMember(
73 JSContext* context, JSValueConst funcObject, JSValueConst thisValue, int argc, JSValueConst* argv, int /*flags*/) {
74 auto& valdiJsContext = *getValdiJSContext(context);

Callers

nothing calls this directly

Calls 3

getValdiJSContextFunction · 0.85
removeWeakReferenceMethod · 0.80

Tested by

no test coverage detected