(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
This commit is contained in:
Andrew McCallum 1996-03-31 22:16:22 +00:00
parent 64f905783d
commit b0fce5a145

View file

@ -26,11 +26,20 @@
#include <objects/stdobjects.h>
#include <Foundation/NSArray.h>
#include <objects/Array.h>
@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 */