Function mozjs_sys::jsapi::JS::RemoveAssociatedMemory
source ยท pub unsafe extern "C" fn RemoveAssociatedMemory(
obj: *mut JSObject,
nbytes: usize,
use_: MemoryUse,
)
Expand description
Advise the GC that external memory reported by JS::AddAssociatedMemory() is no longer owned by a JSObject. Calls must match those to AddAssociatedMemory().