| 328 | } |
| 329 | |
| 330 | Valdi::JSValueRef QuickJSJavaScriptContext::evaluateNative(const std::string_view& sourceFilename, |
| 331 | Valdi::JSExceptionTracker& exceptionTracker) { |
| 332 | auto guard = _threadAccessChecker.guard(); |
| 333 | return checkCallAndGetValue(exceptionTracker, tsn_load_module(_context, sourceFilename.data())); |
| 334 | } |
| 335 | |
| 336 | std::optional<Valdi::IJavaScriptNativeModuleInfo> QuickJSJavaScriptContext::getNativeModuleInfo( |
| 337 | const std::string_view& sourceFilename) { |
nothing calls this directly
no test coverage detected