зеркало из https://github.com/mozilla/gecko-dev.git
Bug 867426 - Remove the ForwardDeclare MACROs; r=jonco
--HG-- extra : rebase_source : dea4bcfa57a684e42105e087839785af2231e37d
This commit is contained in:
Родитель
8e6d671a3d
Коммит
b6975a8444
|
@ -371,20 +371,6 @@ class InternalHandle<T*>
|
|||
{}
|
||||
};
|
||||
|
||||
/*
|
||||
* This macro simplifies forward declaration of a class and its matching raw-pointer.
|
||||
*/
|
||||
# define ForwardDeclare(type) \
|
||||
class type; \
|
||||
typedef type * Raw##type
|
||||
|
||||
# define ForwardDeclareJS(type) \
|
||||
class JS##type; \
|
||||
namespace js { \
|
||||
typedef JS##type * Raw##type; \
|
||||
} \
|
||||
class JS##type
|
||||
|
||||
/*
|
||||
* By default, pointers should use the inheritance hierarchy to find their
|
||||
* ThingRootKind. Some pointer types are explicitly set in jspubtd.h so that
|
||||
|
|
Загрузка…
Ссылка в новой задаче