Function mozjs_sys::jsapi::js::SetAllocationMetadataBuilder
source ยท pub unsafe extern "C" fn SetAllocationMetadataBuilder(
cx: *mut JSContext,
callback: *const AllocationMetadataBuilder,
)
Expand description
Specify a callback to invoke when creating each JS object in the current compartment, which may return a metadata object to associate with the object.