Closed Bug 195298 Opened 21 years ago Closed 21 years ago

Make pldhash take const PLDHashTableOps*

Categories

(Core :: XPCOM, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla1.4beta

People

(Reporter: sfraser_bugs, Assigned: alecf)

Details

Attachments

(2 files)

The various pldhash methods that take a PLDHashTableOps* should be changed to
use const PLDHashTableOps*.
Mine -- you need to change js/src/jsdhash.[ch], and run plify_jsdhash.sed to
generate xpcom/ds/pldhash.[ch].

/be
Assignee: dougt → brendan
Component: XPCOM → MathML
Priority: -- → P1
Target Milestone: --- → mozilla1.4alpha
Attached patch proposed fixSplinter Review
I'll leave it to someone else to patch all the other JSDHashTableOps and
PLDHashTableOps (I didn't lxr, but I suspect there are only PLDHashTableOps
elsewhere in the tree, and not any more JSDHashTableOps statics beyond those I
patched here).

/be
Comment on attachment 115802 [details] [diff] [review]
proposed fix

Looking for r+sr=shaver for the JS engine changes, and r+sr=alecf for the
mirrors in xpcom/ds (just for twice the luck ;-).

/be
Attachment #115802 - Flags: superreview?(alecf)
Attachment #115802 - Flags: review?(shaver)
Status: NEW → ASSIGNED
Component: MathML → XPCOM
Comment on attachment 115802 [details] [diff] [review]
proposed fix

awesome. r/sr=alecf on the xpcom stuff
Attachment #115802 - Flags: superreview?(alecf) → superreview+
Comment on attachment 115802 [details] [diff] [review]
proposed fix

blah blah const blah blah ginger.

r=shaver
Attachment #115802 - Flags: review?(shaver) → review+
Ok, handing back to dougt, to constipate remaining PLDHashTableOp statics.

/be
Assignee: brendan → dougt
Status: ASSIGNED → NEW
 -> alec.
Assignee: dougt → alecf
Status: NEW → ASSIGNED
Target Milestone: mozilla1.4alpha → mozilla1.4beta
This switches over xpcom to use const stuff - I'm going to mark this bug fixed
after that.
Comment on attachment 119310 [details] [diff] [review]
switch all of xpcom over

doug, can I get a review? Easy const stuff...
Attachment #119310 - Flags: review?(dougt)
Attachment #119310 - Flags: review?(dougt) → review+
Attachment #119310 - Flags: superreview+
ok, the xpcom stuff has landed... everything else should be handled per-module.
marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: