Defines

/Users/ricardoquesada/progs/cocos2d-iphone/cocos2d/CCBlockSupport.h File Reference

#import <Foundation/Foundation.h>
Include dependency graph for CCBlockSupport.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define BLOCK_COPY(__block__)   [__block__ copy]
#define BLOCK_RETAIN(__block__)   [__block__ retain]
#define BCA(__block__)   [[__block__ copy] autorelease]

Detailed Description

cocos2d blocks support

Definition in file CCBlockSupport.h.


Define Documentation

#define BCA (   __block__  )     [[__block__ copy] autorelease]

creates a Copy of a Block and adds to the Autorelease pool

Definition at line 43 of file CCBlockSupport.h.

#define BLOCK_COPY (   __block__  )     [__block__ copy]

creates a copy of block with a retain count of 1

Definition at line 35 of file CCBlockSupport.h.

#define BLOCK_RETAIN (   __block__  )     [__block__ retain]

retains the specified block

Definition at line 39 of file CCBlockSupport.h.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines

cocos2d for iPhone 0.99.4 API Reference - Generated using Doxygen 1.7.1