Open
Bug 1619515
Opened 5 years ago
Updated 2 years ago
Add a macro to simplify writing runtime function detection wrappers
Categories
(Firefox :: Session Restore, enhancement, P3)
Firefox
Session Restore
Tracking
()
NEW
People
(Reporter: mikedeboer, Unassigned)
References
Details
This would reduce the amount code duplication and necessary copy-pasting whenever we have to use a private cocoa API, which have no guarantee of existing on all OSX versions Firefox runs on.
Examples in tree that would be helped by this macro:
https://searchfox.org/mozilla-central/rev/b7e3ec2468d42fa59d86c03ec7afeb209813f1d4/gfx/2d/CGTextDrawing.h#22-35
...and bug 440895 introduced a whole bunch more.
I'd be happy to look into this soonish, but it'd be my first time writing a macro, so I'm leaving it unassigned and please feel free to take it!
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•