Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)release
- {
- if(NSDecrementExtraRefCountWasZero(self))
- [self dealloc];
- }
- BOOL
- NSDecrementExtraRefCountWasZero(id anObject)
- {
- if(((struct obj_layout *)anObject)[-1].retained == 0){
- return YES;
- } else {
- ((struct obj_layout *)anObject)[-1].retained--;
- return NO;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment