mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-03 13:21:00 +00:00
16 lines
403 B
C
16 lines
403 B
C
/*
|
|
* Blocks Runtime
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
#define BLOCKS_EXPORT extern "C"
|
|
#else
|
|
#define BLOCKS_EXPORT extern
|
|
#endif
|
|
|
|
BLOCKS_EXPORT void *_Block_copy(const void *);
|
|
BLOCKS_EXPORT void _Block_release(const void *);
|
|
BLOCKS_EXPORT const char *_Block_get_types(const void*);
|
|
|
|
#define Block_copy(x) ((__typeof(x))_Block_copy((const void *)(x)))
|
|
#define Block_release(x) _Block_release((const void *)(x))
|