Skip to main content

JS_GetRuntime

Function JS_GetRuntime 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_GetRuntime( ctx: *mut JsContext, ) -> *mut JsRuntime
Expand description

JS_GetRuntime: the runtime a context belongs to.

ยงSafety

ctx must be a live context.