From b6975a84442821b064295faeed3adb4d41bf4221 Mon Sep 17 00:00:00 2001 From: Terrence Cole Date: Tue, 30 Apr 2013 15:41:20 -0700 Subject: [PATCH] Bug 867426 - Remove the ForwardDeclare MACROs; r=jonco --HG-- extra : rebase_source : dea4bcfa57a684e42105e087839785af2231e37d --- js/public/RootingAPI.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/js/public/RootingAPI.h b/js/public/RootingAPI.h index 848342597e59..80519040fe40 100644 --- a/js/public/RootingAPI.h +++ b/js/public/RootingAPI.h @@ -371,20 +371,6 @@ class InternalHandle {} }; -/* - * 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