JSValueUnprotect top-level property
Unprotects a JavaScript value from garbage collection.
ctx
The execution context to use.
value
The JSValue to unprotect.
@discussion
A value may be protected multiple times and must be unprotected an equal number of times before becoming eligible for garbage collection.
JS_EXPORT void JSValueUnprotect(JSContextRef ctx, JSValueRef value);
Implementation
final void Function(JSContextRef ctx, JSValueRef value) JSValueUnprotect = jscLib.lookup<NativeFunction<Void Function(JSContextRef ctx, JSValueRef value)>>('JSValueUnprotect').asFunction();