summaryrefslogtreecommitdiffstats
path: root/libxml2/testOOMlib.h
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-11-17 21:09:46 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-11-17 21:09:46 (GMT)
commitfc7f7edd0b8011cb71573b15462ef83068d9e54b (patch)
tree459fb7d1a9611f563e3000386df5cb7cdf506916 /libxml2/testOOMlib.h
parent4f65b25b474bf534e40c3d3aa47d43e8457fcc9a (diff)
downloadblt-fc7f7edd0b8011cb71573b15462ef83068d9e54b.zip
blt-fc7f7edd0b8011cb71573b15462ef83068d9e54b.tar.gz
blt-fc7f7edd0b8011cb71573b15462ef83068d9e54b.tar.bz2
local fork libxml2
Diffstat (limited to 'libxml2/testOOMlib.h')
-rw-r--r--libxml2/testOOMlib.h26
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