Function script::dom::bindings::namespace::create_namespace_object

source ยท
pub fn create_namespace_object(
    cx: JSContext,
    global: HandleObject<'_>,
    proto: HandleObject<'_>,
    class: &'static NamespaceObjectClass,
    methods: &[Guard<&'static [JSFunctionSpec]>],
    constants: &[Guard<&'static [ConstantSpec]>],
    name: &CStr,
    rval: MutableHandleObject<'_>,
)
Expand description

Create a new namespace object.