git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7768 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2000-10-09 04:03:32 +00:00
parent ec5fe4c035
commit 47df37ecfd

View file

@ -44,6 +44,7 @@
#include <Foundation/NSRange.h>
#include <Foundation/NSArray.h>
#include <Foundation/NSDebug.h>
#include <Foundation/NSZone.h>
#include <AppKit/NSTextStorage.h>
#define SANITY_CHECKS 0
@ -151,7 +152,8 @@ static void _setup()
infCls = [GSTextInfo class];
infImp = [infCls methodForSelector: infSel];
a = [[NSMutableArray allocWithZone: NSDefaultMallocZone()] initWithCapacity: 1];
a = [NSMutableArray allocWithZone: NSDefaultMallocZone()];
a = [a initWithCapacity: 1];
addImp = (void (*)())[a methodForSelector: addSel];
cntImp = (unsigned (*)())[a methodForSelector: cntSel];
insImp = (void (*)())[a methodForSelector: insSel];