Function js::jsapi::JS_LinkConstructorAndPrototype
[−]
[src]
pub unsafe extern "C" fn JS_LinkConstructorAndPrototype(
cx: *mut JSContext,
ctor: Handle<*mut JSObject>,
proto: Handle<*mut JSObject>
) -> bool
Set up ctor.prototype = proto and proto.constructor = ctor with the right property flags.