#ifndef _Block_H_
#define _Block_H_
#if defined(_WIN32)
# if defined(BlocksRuntime_STATIC)
# define BLOCK_ABI
# else
# if defined(BlocksRuntime_EXPORTS)
# define BLOCK_ABI __declspec(dllexport)
# else
# define BLOCK_ABI __declspec(dllimport)
# endif
# endif
#else
# define BLOCK_ABI __attribute__((__visibility__("default")))
#endif
#if !defined(BLOCK_EXPORT)
# if defined(__cplusplus)
# define BLOCK_EXPORT extern "C" BLOCK_ABI
# else
# define BLOCK_EXPORT extern BLOCK_ABI
# endif
#endif
#if __cplusplus
extern "C" {
#endif
BLOCK_EXPORT void *_Block_copy(const void *aBlock);
BLOCK_EXPORT void _Block_release(const void *aBlock);
BLOCK_EXPORT void _Block_object_assign(void *, const void *, const int);
BLOCK_EXPORT void _Block_object_dispose(const void *, const int);
#if defined(_WIN32)
extern void * _NSConcreteGlobalBlock[32];
extern void * _NSConcreteStackBlock[32];
#else
BLOCK_EXPORT void * _NSConcreteGlobalBlock[32];
BLOCK_EXPORT void * _NSConcreteStackBlock[32];
#endif
#if __cplusplus
}
#endif
#define Block_copy(...) ((__typeof(__VA_ARGS__))_Block_copy((const void *)(__VA_ARGS__)))
#define Block_release(...) _Block_release((const void *)(__VA_ARGS__))
#endif