#include <libkern/Block.h>

libkern/Block.h Kernel.framework

includes: Availability.h
4 macros · 4 functions · 2 variables

macro_Block_H_

#define _Block_H_ 

macroBLOCK_EXPORT

#define BLOCK_EXPORT extern "C"

function_Block_copy

void *_Block_copy(const void *aBlock)
Create a heap based copy of a Block or simply add a reference to an existing one. This must be paired with Block_release to recover memory, even when running under Objective-C Garbage Collection.

function_Block_release

void _Block_release(const void *aBlock)
Lose the reference, and if heap based and last reference, recover the memory

function_Block_object_assign

void _Block_object_assign(void *, const void *, const int)
Used by the compiler. Do not call this function yourself.

function_Block_object_dispose

void _Block_object_dispose(const void *, const int)
Used by the compiler. Do not call this function yourself.

variable_NSConcreteGlobalBlock

Used by the compiler. Do not use these variables yourself.
void * _NSConcreteGlobalBlock[32]

variable_NSConcreteStackBlock

void * _NSConcreteStackBlock[32]

macroBlock_copy

#define Block_copy(...) ((__typeof(__VA_ARGS__))_Block_copy((const void *)(__VA_ARGS__)))

macroBlock_release

#define Block_release(...) _Block_release((const void *)(__VA_ARGS__))