AndrewShmig

Untitled

May 1st, 2013
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - (void)dealloc
  2. {
  3.     NSDeallocateObject(self);
  4. }
  5.  
  6. inline void
  7. NSDeallocateObject(id anObject)
  8. {
  9.     struct obj_layout *o = &((struct obj_layout *)ansObject)[-1];
  10.     free(o);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment