2 ** Hook functions for memory allocation and disposal.
3 ** This makes it easy to substitute garbage collection systems
4 ** such as Boehm's GC by assigning these function pointers
5 ** to the GC's allocation routines. By default these point
6 ** to the ANSI standard malloc, realloc, free, etc.
8 ** Users should call the normal objc routines above for
9 ** memory allocation and disposal within their programs.
11 objc_EXPORT
void *(*_objc_malloc
)(size_t);
12 objc_EXPORT
void *(*_objc_atomic_malloc
)(size_t);
13 objc_EXPORT
void *(*_objc_valloc
)(size_t);
14 objc_EXPORT
void *(*_objc_realloc
)(void *, size_t);
15 objc_EXPORT
void *(*_objc_calloc
)(size_t, size_t);
16 objc_EXPORT
void (*_objc_free
)(void *);