You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
418 B
C
18 lines
418 B
C
/*
|
|
* Blocks Runtime
|
|
*/
|
|
|
|
#include "Availability.h"
|
|
#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 *);
|
|
BLOCKS_EXPORT const char *block_getType_np(void *b) OBJC_NONPORTABLE;
|
|
|
|
#define Block_copy(x) ((__typeof(x))_Block_copy((void *)(x)))
|
|
#define Block_release(x) _Block_release((void *)(x))
|