Function javascriptcore_sys::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: TheJSObjectwhose prototype you want to set.value: AJSValueto set as the object’s prototype.