mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-30 20:10:53 +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
0e9363ac36
commit
db8a9d42e3
1 changed files with 9 additions and 0 deletions
|
@ -26,11 +26,20 @@
|
||||||
|
|
||||||
#include <objects/stdobjects.h>
|
#include <objects/stdobjects.h>
|
||||||
#include <Foundation/NSArray.h>
|
#include <Foundation/NSArray.h>
|
||||||
|
#include <objects/Array.h>
|
||||||
|
|
||||||
@interface NSGArray : NSArray
|
@interface NSGArray : NSArray
|
||||||
|
{
|
||||||
|
char _NSGArray_placeholder[(sizeof(struct ConstantArray)
|
||||||
|
- sizeof(struct NSArray))];
|
||||||
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface NSGMutableArray : NSMutableArray
|
@interface NSGMutableArray : NSMutableArray
|
||||||
|
{
|
||||||
|
char _NSGMutableArray_placeholder[(sizeof(struct Array)
|
||||||
|
- sizeof(struct NSMutableArray))];
|
||||||
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#endif /* __NSGArray_h_OBJECTS_INCLUDE */
|
#endif /* __NSGArray_h_OBJECTS_INCLUDE */
|
||||||
|
|
Loading…
Reference in a new issue