aboutsummaryrefslogtreecommitdiffstats
path: root/external/libxml2_android/jni/libxml2/testOOMlib.h
diff options
context:
space:
mode:
authorAngelo Mantellini <angelo.mantellini@irt-systemx.fr>2018-03-21 14:16:02 +0100
committerAngelo Mantellini <angelo.mantellini@irt-systemx.fr>2018-03-21 20:46:00 +0100
commit5d308865d0783d0cd70f7453c77980835ac5648e (patch)
treeaea91e7109a81669e5b19443296cf1dec6876532 /external/libxml2_android/jni/libxml2/testOOMlib.h
parente90a1ec7c82519127b63931a96535ad4bc31342d (diff)
update android-sdk. Now it is possible to compile with clangandroid-sdk/master
Change-Id: I156aa48dd90467a2a7540eec11839c0111b13bd2 Signed-off-by: Angelo Mantellini <angelo.mantellini@irt-systemx.fr>
Diffstat (limited to 'external/libxml2_android/jni/libxml2/testOOMlib.h')
-rw-r--r--external/libxml2_android/jni/libxml2/testOOMlib.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/external/libxml2_android/jni/libxml2/testOOMlib.h b/external/libxml2_android/jni/libxml2/testOOMlib.h
deleted file mode 100644
index 751999da..00000000
--- a/external/libxml2_android/jni/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