Skip to main content

new_proxy_object

Function new_proxy_object 

Source
pub unsafe fn new_proxy_object(
    cx: &mut JSContext,
    handler: *const c_void,
    owner: *const c_void,
) -> *mut JSObject
Expand description

ยงSafety

The caller must ensure that the returned pointer is not used after the JSContext is deallocated.