зеркало из https://github.com/mozilla/gecko-dev.git
Bug 583727 DOMCI_CASTABLE_INTERFACE: macro redefinition; r=peterv a=jst
This commit is contained in:
Родитель
4a31e24723
Коммит
9dc78c5b9f
|
@ -73,6 +73,7 @@ enum nsDOMClassInfoID {
|
|||
* that implements one of these interfaces must be directly castable
|
||||
* to that interface from the *canonical* nsISupports!
|
||||
*/
|
||||
#undef DOMCI_CASTABLE_INTERFACE
|
||||
#define DOMCI_CASTABLE_INTERFACES(_extra) \
|
||||
DOMCI_CASTABLE_INTERFACE(nsINode, nsINode, 0, _extra) \
|
||||
DOMCI_CASTABLE_INTERFACE(nsIContent, nsIContent, 1, _extra) \
|
||||
|
|
|
@ -78,6 +78,7 @@ xpc_qsUnwrapArg<_interface>(JSContext *cx, \
|
|||
|
||||
#undef DOMCI_CASTABLE_INTERFACE
|
||||
|
||||
#undef DOMCI_CASTABLE_INTERFACE
|
||||
#define DOMCI_CASTABLE_INTERFACE(_interface, _base, _bit, _extra) \
|
||||
DEFINE_UNWRAP_CAST(_interface, _base, _bit)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче