Type Alias mozjs_sys::jsapi::js::ClassObjectCreationOp
source · pub type ClassObjectCreationOp = Option<unsafe extern "C" fn(cx: *mut JSContext, key: JSProtoKey) -> *mut JSObject>;
Expand description
Callback for the creation of constructor and prototype objects.
Aliased Type§
enum ClassObjectCreationOp {
None,
Some(unsafe extern "C" fn(_: *mut JSContext, _: JSProtoKey) -> *mut JSObject),
}