pub unsafe fn JS_GetOwnPropertyDescriptor(
cx: *mut JSContext,
obj: HandleObject<'_>,
name: *const c_char,
desc: MutableHandle<'_, PropertyDescriptor>,
isNone: *mut bool,
) -> bool👎Deprecated:
Use wrappers2 instead
pub unsafe fn JS_GetOwnPropertyDescriptor(
cx: *mut JSContext,
obj: HandleObject<'_>,
name: *const c_char,
desc: MutableHandle<'_, PropertyDescriptor>,
isNone: *mut bool,
) -> boolUse wrappers2 instead