Function chakracore_sys::JsSetPrototype [] [src]

pub unsafe extern "system" fn JsSetPrototype(
    object: JsValueRef,
    prototypeObject: JsValueRef
) -> JsErrorCode

Sets the prototype of an object. Requires an active script context. The object whose prototype is to be changed. The object's new prototype. The code JsNoError if the operation succeeded, a failure code otherwise.