JSObjectSetPrototype top-level property
Sets an object's prototype.
ctx
(JSContextRef) The execution context to use.
object
(JSObjectRef) The JSObject whose prototype you want to set.
value
(JSValueRef) A JSValue to set as the object's prototype.
Implementation
final void Function(JSContextRef ctx, JSObjectRef object, JSValueRef value)
JSObjectSetPrototype =
kLookup<
NativeFunction<Void Function(JSContextRef, JSObjectRef, JSValueRef)>
>('JSObjectSetPrototype').asFunction();