Function js::jsapi::JS_NewObjectWithoutMetadata
[−]
[src]
pub unsafe extern "C" fn JS_NewObjectWithoutMetadata(
cx: *mut JSContext,
clasp: *const JSClass,
proto: Handle<*mut JSObject>
) -> *mut JSObject
Allocate an object in exactly the same way as JS_NewObjectWithGivenProto, but without invoking the metadata callback on it. This allows creation of internal bookkeeping objects that are guaranteed to not have metadata attached to them.