Closed Bug 1065100 Opened 10 years ago Closed 10 years ago

hide bulky static_cast stuff in xpc classes

Categories

(Core :: Disability Access APIs, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: surkov, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
macroses instead inlines
1) inlines needs -inl.h files or include internal classes headers
2) macroses guarantee no extra function call
3) scope restricted by cpp files so all of them can have same name
Attachment #8486733 - Flags: feedback?(trev.saunders)
Blocks: cleana11y
Trev's religion doesn't let macros to go. I don't see nice solution with cpp(h) inline functions that fits ongoing hierarchy changes. We are more or less both fine with long-prettylong static_casts.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Attachment #8486733 - Flags: feedback?(trev.saunders)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: