Function JSContextGetGlobalContext

Source
pub unsafe extern "C" fn JSContextGetGlobalContext(
    ctx: JSContextRef,
) -> JSGlobalContextRef
Expand description

Gets the global context of a JavaScript execution context.

  • ctx: The JSContextRef whose global context you want to get.

Returns ctx’s global context.