Type Alias mozjs_sys::jsapi::js::FinishClassInitOp
source · pub type FinishClassInitOp = Option<unsafe extern "C" fn(cx: *mut JSContext, ctor: HandleObject, proto: HandleObject) -> bool>;
Expand description
Callback for custom post-processing after class initialization via ClassSpec.
Aliased Type§
enum FinishClassInitOp {
None,
Some(unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>, _: Handle<*mut JSObject>) -> bool),
}