mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
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:
parent
030f54a9cf
commit
d40d219015
72 changed files with 122 additions and 1787 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue