mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
(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:
parent
64f905783d
commit
b0fce5a145
1 changed files with 9 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue