Bug 867426 - Remove the ForwardDeclare MACROs; r=jonco

--HG--
extra : rebase_source : dea4bcfa57a684e42105e087839785af2231e37d
This commit is contained in:
Terrence Cole 2013-04-30 15:41:20 -07:00
Родитель 8e6d671a3d
Коммит b6975a8444
1 изменённых файлов: 0 добавлений и 14 удалений

Просмотреть файл

@ -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