Function JSObjectSetPrototype

Source
pub unsafe extern "C" fn JSObjectSetPrototype(
    ctx: JSContextRef,
    object: JSObjectRef,
    value: JSValueRef,
)
Expand description

Sets an object’s prototype.

  • ctx: The execution context to use.
  • object: The JSObjectRef whose prototype you want to set.
  • value: A JSValueRef to set as the object’s prototype.

§See also