Function chakracore_sys::JsCreateWeakReference [] [src]

pub unsafe extern "system" fn JsCreateWeakReference(
    value: JsValueRef,
    weakRef: *mut JsWeakRef
) -> JsErrorCode

Creates a weak reference to a value. The value to be referenced. Weak reference to the value. The code JsNoError if the operation succeeded, a failure code otherwise.