Closed Bug 814444 Opened 13 years ago Closed 13 years ago

Remove now-useless TRAVERSE_NATIVE_BEGIN and UNLINK_BEGIN_NATIVE macros

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: bjacob, Assigned: bjacob)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Since bug 806279 they are just dupes for the non-_NATIVE macro, and we forgot to eliminate them in bug 807437, and now they are causing confusion in bug 811371, confusing people into believing they they can't use the helper macros with native types because the helper macros don't use the _NATIVE macros. One review is enough, whoever of Smaug or Mccr8 does it first.
Attachment #684445 - Flags: review?(continuation)
Attachment #684445 - Flags: review?(bugs)
Comment on attachment 684445 [details] [diff] [review] kill _NATIVE macros Review of attachment 684445 [details] [diff] [review]: ----------------------------------------------------------------- Thanks! There's still NS_IMPL_CYCLE_COLLECTION_UNLINK_0 and NS_IMPL_CYCLE_COLLECTION_UNLINK_NATIVE_0. Probably okay to redefine the first to be NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN ...and delete the second, renaming its few uses. You can fix that if you want in this patch, or I'll just file a followup bug.
Attachment #684445 - Flags: review?(continuation)
Attachment #684445 - Flags: review?(bugs)
Attachment #684445 - Flags: review+
That second NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN should be NS_IMPL_CYCLE_COLLECTION_UNLINK_END of course. ;)
Blocks: 800115
Assignee: nobody → bjacob
Target Milestone: --- → mozilla20
Blocks: 814453
Status: NEW → RESOLVED
Closed: 13 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: