Function js::jsapi::JS_DefinePropertyById2 [−] [src]

pub unsafe extern "C" fn JS_DefinePropertyById2(
    cx: *mut JSContext,
    obj: HandleObject,
    id: HandleId,
    value: HandleValue,
    attrs: c_uint,
    getter: JSNative,
    setter: JSNative
) -> bool