4 Hierarchical memory heap interface - an extension to standard
5 malloc/free interface that simplifies tasks of memory disposal
6 when allocated structures exhibit hierarchical properties.
8 http://swapped.cc/halloc
10 To build libhalloc.a with GNU tools run
13 To install in /usr/include and /usr/lib
16 To cleanup the build files
20 * fixed a double-free bug in _set_allocator() as per
21 Matthew Gregan comments
23 * switched to using NULL instead of 0 where applicable
26 * added missing <string.h> include to halloc.c
28 * improved standard compliance thanks to the feedback
29 received from Stan Tobias. Two things were fixed -
31 - hblock_t structure no longer uses zero-sized 'data'
32 array, which happened to be common, but non-standard
35 - secondly, added the code to test the behaviour of
36 realloc(ptr, 0). Standard allows it NOT to act as
37 free(), in which case halloc will use its own version
38 of allocator calling free() when neccessary.
41 * initial public release (rewrite of hhmalloc library)
43 =============================================================================
44 Copyright (c) 2004-2010, Alex Pankratov (ap@swapped.cc). All rights reserved.