mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Bug 583727 DOMCI_CASTABLE_INTERFACE: macro redefinition; r=peterv a=jst
This commit is contained in:
parent
4a31e24723
commit
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user