jSObjectSetPrototype top-level property

void Function(Pointer<NativeType> ctx, Pointer<NativeType> object, Pointer<NativeType> value) jSObjectSetPrototype
final

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(Pointer ctx, Pointer object, Pointer value)
    jSObjectSetPrototype = JscFfi.lib
        .lookup<NativeFunction<Void Function(Pointer, Pointer, Pointer)>>(
            'JSObjectSetPrototype')
        .asFunction();