pub unsafe extern "system" fn JsAddRef(
ref_: JsRef,
count: *mut c_uint
) -> JsErrorCode
Adds a reference to a garbage collected object.
This only needs to be called on JsRef handles that are not going to be stored
somewhere on the stack. Calling JsAddRef ensures that the object the JsRef
refers to will not be freed until JsRelease is called.
The object to add a reference to.
The object's new reference count (can pass in null).
The code JsNoError if the operation succeeded, a failure code otherwise.