vpx/nestegg/halloc
Martin Storsjo bf8c620778 halloc: Cast the offsetof macro to ptrdiff_t before negating
This gets rid of the warning
"C4146: unary minus applied to unsigned type, result still unsigned"
with visual c++.

Change-Id: I6eb24da983136d798221db4d3a5f50dc2857a03b
2013-06-07 10:18:59 +03:00
..
src halloc: Cast the offsetof macro to ptrdiff_t before negating 2013-06-07 10:18:59 +03:00
halloc.h Import nestegg webm/mkv parser 2010-10-21 10:55:14 -04:00
README Import nestegg webm/mkv parser 2010-10-21 10:55:14 -04:00

halloc 1.2.1
============
      
	Hierarchical memory heap interface - an extension to standard
	malloc/free interface that simplifies tasks of memory disposal 
	when allocated structures exhibit hierarchical properties.

	http://swapped.cc/halloc
=
	To build libhalloc.a with GNU tools run
		make

	To install in /usr/include and /usr/lib
		make install

	To cleanup the build files 
		make clean
=
	halloc-1.2.1
		* fixed a double-free bug in _set_allocator() as per
		  Matthew Gregan comments

		* switched to using NULL instead of 0 where applicable

	halloc-1.2.0
		* added missing <string.h> include to halloc.c
		
		* improved standard compliance thanks to the feedback
		  received from Stan Tobias. Two things were fixed -
		  
		- hblock_t structure no longer uses zero-sized 'data'
		  array, which happened to be common, but non-standard
		  extension; 
		  
		- secondly, added the code to test the behaviour of 
		  realloc(ptr, 0). Standard allows it NOT to act as
		  free(), in which case halloc will use its own version
		  of allocator calling free() when neccessary.

	halloc-1.1.0
		* initial public release (rewrite of hhmalloc library)

=============================================================================
Copyright (c) 2004-2010, Alex Pankratov (ap@swapped.cc). All rights reserved.