JSObjectSetPrototype top-level property

void Function(JSContextRef ctx, JSObjectRef object, JSValueRef value) JSObjectSetPrototype
final

Sets an object's prototype. ctx The execution context to use. object The JSObject whose prototype you want to set. value A JSValue to set as the object's prototype.

Implementation

final void Function(JSContextRef ctx, JSObjectRef object, JSValueRef value) JSObjectSetPrototype =
    jscLib.lookup<NativeFunction<Void Function(JSContextRef ctx, JSObjectRef object, JSValueRef value)>>('JSObjectSetPrototype').asFunction();