Function quickjs_runtime::quickjs_utils::objects::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