quickjs_runtime::quickjs_utils::objects

Function get_namespace

source
pub unsafe fn get_namespace(
    context: *mut JSContext,
    namespace: &[&str],
    create_if_absent: bool,
) -> Result<QuickJsValueAdapter, JsError>
Expand description

ยงSafety

when passing a context ptr please be sure that the corresponding QuickJsContext is still active