19 typedef struct of_block_literal_t {
23 void (*invoke)(
void *, ...);
24 struct of_block_descriptor_t {
25 unsigned long reserved;
27 void (*copy_helper)(
void *dest,
void *src);
28 void (*dispose_helper)(
void *src);
29 const char *signature;
36 extern void* _Block_copy(
const void*);
37 extern void _Block_release(
const void*);
43 # define Block_copy(x) ((__typeof__(x))_Block_copy((const void*)(x)))
46 # define Block_release(x) _Block_release((const void*)(x))
55 @interface OFStackBlock:
OFBlock
58 @interface OFGlobalBlock:
OFBlock
61 @interface OFMallocBlock:
OFBlock