removal of garbage collection

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39608 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2016-03-25 11:15:28 +00:00
parent 030f54a9cf
commit d40d219015
72 changed files with 122 additions and 1787 deletions

View file

@ -256,11 +256,7 @@ static NSRecursiveLock *classLock = nil;
{
NSAssert(0 == _NSCalendarInternal, NSInvalidArgumentException);
_NSCalendarInternal =
#if GS_WITH_GC
NSAllocateCollectable(sizeof(Calendar), NSScannedOption);
#else
NSZoneCalloc([self zone], sizeof(Calendar), 1);
#endif
my->firstWeekday = NSNotFound;
my->minimumDaysInFirstWeek = NSNotFound;
@ -854,11 +850,7 @@ typedef struct {
if (nil != (self = [super init]))
{
_NSDateComponentsInternal =
#if GS_WITH_GC
NSAllocateCollectable(sizeof(DateComp), NSScannedOption);
#else
NSZoneCalloc([self zone], sizeof(DateComp), 1);
#endif
NSZoneCalloc([self zone], sizeof(DateComp), 1);
my->era = NSDateComponentUndefined;
my->year = NSDateComponentUndefined;