diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2016-11-17 21:09:46 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2016-11-17 21:09:46 (GMT) |
commit | fc7f7edd0b8011cb71573b15462ef83068d9e54b (patch) | |
tree | 459fb7d1a9611f563e3000386df5cb7cdf506916 /libxml2/testOOMlib.h | |
parent | 4f65b25b474bf534e40c3d3aa47d43e8457fcc9a (diff) | |
download | blt-fc7f7edd0b8011cb71573b15462ef83068d9e54b.zip blt-fc7f7edd0b8011cb71573b15462ef83068d9e54b.tar.gz blt-fc7f7edd0b8011cb71573b15462ef83068d9e54b.tar.bz2 |
local fork libxml2
Diffstat (limited to 'libxml2/testOOMlib.h')
-rw-r--r-- | libxml2/testOOMlib.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/libxml2/testOOMlib.h b/libxml2/testOOMlib.h deleted file mode 100644 index 751999d..0000000 --- a/libxml2/testOOMlib.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef TEST_OOM_LIB_H -#define TEST_OOM_LIB_H - -#include <config.h> - -#ifdef HAVE_SYS_TYPES_H -#include <sys/types.h> -#endif - -void* test_malloc (size_t bytes); -void* test_realloc (void *memory, - size_t bytes); -void test_free (void *memory); -char* test_strdup (const char *str); - -/* returns true on success */ -typedef int (* TestMemoryFunction) (void *data); - -/* returns true on success */ -int test_oom_handling (TestMemoryFunction func, - void *data); - -/* get number of blocks leaked */ -int test_get_malloc_blocks_outstanding (void); - -#endif |