From db8a9d42e384e4a04d35d6333f14d0665cc36055 Mon Sep 17 00:00:00 2001 From: mccallum Date: Sun, 31 Mar 1996 22:16:22 +0000 Subject: [PATCH] (NSGArray, NSGMutableArray): Add placeholder ivars so our instance size matches that of the behavior class that will be added. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1321 72102866-910b-0410-8b05-ffd578937521 --- Headers/gnustep/base/NSGArray.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Headers/gnustep/base/NSGArray.h b/Headers/gnustep/base/NSGArray.h index f22d79d41..23b444710 100644 --- a/Headers/gnustep/base/NSGArray.h +++ b/Headers/gnustep/base/NSGArray.h @@ -26,11 +26,20 @@ #include #include +#include @interface NSGArray : NSArray +{ + char _NSGArray_placeholder[(sizeof(struct ConstantArray) + - sizeof(struct NSArray))]; +} @end @interface NSGMutableArray : NSMutableArray +{ + char _NSGMutableArray_placeholder[(sizeof(struct Array) + - sizeof(struct NSMutableArray))]; +} @end #endif /* __NSGArray_h_OBJECTS_INCLUDE */