Type Alias

os_block_t

A block taking no arguments and returning no value.

Declaration

typedef void (^os_block_t)(void);

Discussion

When not building with Objective-C ARC, a block object allocated on or copied to the heap must be released with a release message or the Block_release function.

The declaration of a block literal allocates storage on the stack.