Closed
Bug 684557
Opened 14 years ago
Closed 14 years ago
JS_LookupPropertyWithFlagsById()'s documentation does not include objp parameter
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: ohnobinki, Unassigned)
Details
https://developer.mozilla.org/en/SpiderMonkey/JSAPI_Reference/JS_LookupProperty documents JS_LookupPropertyWithFlagsById()'s signature to be:
JSBool JS_LookupPropertyWithFlagsById(JSContext *cx, JSObject *obj, jsid id, uintN flags, jsval *vp);
The actual signature is:
JS_LookupPropertyWithFlagsById(JSContext *cx, JSObject *obj, jsid id, uintN flags, JSObject **objp, jsval *vp);
There is no explanation about what objp is used for.
Comment 1•14 years ago
|
||
objp the object along the prototype chain the property was actually found on (obj is where the lookup starts).
Comment 2•14 years ago
|
||
I just updated the doc.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•