| 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 | |
| 72 | static JSValue callNativeClassStaticMember( |
| 73 | JSContext* context, JSValueConst funcObject, JSValueConst thisValue, int argc, JSValueConst* argv, int /*flags*/) { |
| 74 | auto& valdiJsContext = *getValdiJSContext(context); |
nothing calls this directly
no test coverage detected