698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
|
PRE_IVAR->retain_count++;
assert(of_spinlock_unlock(&PRE_IVAR->retain_spinlock));
#endif
return self;
}
- (size_t)retainCount
{
assert(PRE_IVAR->retain_count >= 0);
return (size_t)PRE_IVAR->retain_count;
}
- (void)release
{
#if defined(OF_ATOMIC_OPS)
if (of_atomic_dec_32(&PRE_IVAR->retain_count) <= 0)
[self dealloc];
|
|
|
|
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
|
PRE_IVAR->retain_count++;
assert(of_spinlock_unlock(&PRE_IVAR->retain_spinlock));
#endif
return self;
}
- (unsigned int)retainCount
{
assert(PRE_IVAR->retain_count >= 0);
return PRE_IVAR->retain_count;
}
- (void)release
{
#if defined(OF_ATOMIC_OPS)
if (of_atomic_dec_32(&PRE_IVAR->retain_count) <= 0)
[self dealloc];
|
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
|
}
+ autorelease
{
return self;
}
+ (size_t)retainCount
{
return SIZE_MAX;
}
+ (void)release
{
}
+ (void)dealloc
|
|
|
|
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
|
}
+ autorelease
{
return self;
}
+ (unsigned int)retainCount
{
return OF_RETAIN_COUNT_MAX;
}
+ (void)release
{
}
+ (void)dealloc
|