PsychoH13 / C-ObjC-Blocks

Runtime functions to support Apple's Blocks feature added to C, Objective-C and C++. And other niceties...

This URL has Read+Write access

C-ObjC-Blocks / blocks_runtime.h
100644 12 lines (10 sloc) 0.207 kb
1
2
3
4
5
6
7
8
9
10
11
12
/*
* Blocks Runtime
*/
 
#ifdef __cplusplus
#define BLOCKS_EXPORT extern "C"
#else
#define BLOCKS_EXPORT extern
#endif
 
BLOCKS_EXPORT void *__Block_copy(void *);
BLOCKS_EXPORT void __Block_release(void *);