Closed
Bug 522621
Opened 16 years ago
Closed 16 years ago
Clean up wrapper code
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: mrbkap, Assigned: mrbkap)
Details
Attachments
(1 file, 1 obsolete file)
|
146.64 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
Goals:
* Use namespaces instead of C-like UGLY_PREFIXES_blah to separate different wrappers' functions.
* Centralize common declarations.
* Get rid of macros in favor of typesafe inline functions.
This patch isn't quite ready. I need to move some functions around to consolidate namespace declarations.
| Assignee | ||
Comment 1•16 years ago
|
||
This consolidates the namespace definitions in the individual files. I'll pass this through the try server before checking in. One thing that sicking pointed out was that I'm not putting my stuff in namespace mozilla {}. I don't know if this matters. I don't see the use of namespace mozilla here because none of this stuff is exported past nsIXPConnect. I can add in namespace mozilla{} (and using declarations) if people really care *that much*.
Attachment #406609 -
Attachment is obsolete: true
Attachment #407387 -
Flags: review?(jst)
| Assignee | ||
Comment 2•16 years ago
|
||
jst, this patch passes the try server.
Updated•16 years ago
|
Attachment #407387 -
Flags: review?(jst) → review+
Comment 3•16 years ago
|
||
Comment on attachment 407387 [details] [diff] [review]
patch v1
r=jst for this hygiene enhancer :)
| Assignee | ||
Comment 4•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•