Closed Bug 483473 Opened 15 years ago Closed 15 years ago

Make JSObjectOps private

Categories

(Core :: JavaScript Engine, defect)

Other Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jorendorff, Assigned: jorendorff)

References

(Blocks 1 open bug)

Details

(Keywords: fixed1.9.1)

Attachments

(1 file, 1 obsolete file)

This really should not be public.
Attached patch v1 (obsolete) — Splinter Review
*Not* taking this bug, because I am (I find) on a two-week vacation.

The patch builds js/src, XPConnect, and LiveConnect in a browser tree.  Should be good to land.
Attachment #367452 - Flags: review?(brendan)
Comment on attachment 367452 [details] [diff] [review]
v1


>+typedef JSObject *
>+(* JSGetMethodOp)(JSContext *cx, JSObject *obj, jsid id, jsval *vp);
>+
>+typedef JSBool
>+(* JSSetMethodOp)(JSContext *cx, JSObject *obj, jsid id, jsval *vp);
>+
>+typedef JSBool
>+(* JSEnumerateValuesOp)(JSContext *cx, JSObject *obj, JSIterateOp enum_op,
>+                        jsval *statep, jsid *idp, jsval *vp);
>+
>+typedef JSBool
>+(* JSConcatenateOp)(JSContext *cx, JSObject *obj, jsval v, jsval *vp);

These 4 types are no longer used - I forgot to remove them in the patch for bug 362910.
Attached patch v2Splinter Review
This patch removes the obsolete typedefs.
Assignee: general → jorendorff
Attachment #367452 - Attachment is obsolete: true
Attachment #370041 - Flags: review?(brendan)
Attachment #367452 - Flags: review?(brendan)
Attachment #370041 - Flags: review?(brendan) → review+
Comment on attachment 370041 [details] [diff] [review]
v2

Thanks (and dieliveconnectdiediedie ;-).

/be
The landed patch keeps JSProperty defined as a typedef in jspubtd.h. It should be moved to jsprvtd.h. I will file a new bug about it.
Blocks: 486297
http://hg.mozilla.org/mozilla-central/rev/c6030369d253
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: