Add custom memory allocation
authorPetri Lehtinen <petri@digip.org>
Thu, 17 Feb 2011 08:10:53 +0000 (10:10 +0200)
committerPetri Lehtinen <petri@digip.org>
Thu, 17 Feb 2011 08:10:53 +0000 (10:10 +0200)
commit4be9e9e7fe54ae2fe6f63d39a8209b41e878196d
tree03d214fcb933ec751649f0a351886d8b0d9d04df
parentdd7dd414f0968a2ca6436c493b4d1d4ed0723bda
Add custom memory allocation

Thanks to Basile Starynkevitch for the suggestion and initial patch.
Thanks to Jonathan Landis and Deron Meranda for showing how this can
be utilized for implementing secure memory operations.
14 files changed:
doc/apiref.rst
src/Makefile.am
src/dump.c
src/hashtable.c
src/jansson.h
src/jansson_private.h
src/load.c
src/memory.c [new file with mode: 0644]
src/strbuffer.c
src/value.c
test/.gitignore
test/suites/api/Makefile.am
test/suites/api/check-exports
test/suites/api/test_memory_funcs.c [new file with mode: 0644]