mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 09:30:44 +00:00
Bug 348748 - Remove the NS_.*_CAST macros completely! r=bsmedberg, a=no-functionality-change
This commit is contained in:
parent
fb76c5017d
commit
303ffaf798
@ -423,13 +423,6 @@ typedef PRUint32 nsrefcnt;
|
||||
#define NS_SPECIALIZE_TEMPLATE
|
||||
#endif
|
||||
|
||||
#define NS_STATIC_CAST(__type, __ptr) static_cast< __type >(__ptr)
|
||||
#define NS_CONST_CAST(__type, __ptr) const_cast< __type >(__ptr)
|
||||
|
||||
#define NS_REINTERPRET_POINTER_CAST(__type, __ptr) reinterpret_cast< __type >(__ptr)
|
||||
#define NS_REINTERPRET_NONPOINTER_CAST(__type, __obj) reinterpret_cast< __type >(__obj)
|
||||
#define NS_REINTERPRET_CAST(__type, __expr) reinterpret_cast< __type >(__expr)
|
||||
|
||||
/*
|
||||
* Use these macros to do 64bit safe pointer conversions.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user