aboutsummaryrefslogtreecommitdiffstats
path: root/moon-abe/pbc-0.5.14/include/pbc_memory.h
diff options
context:
space:
mode:
authorwukong <rebirthmonkey@gmail.com>2015-11-23 17:48:48 +0100
committerwukong <rebirthmonkey@gmail.com>2015-11-23 17:48:48 +0100
commitfca74d4bc3569506a6659880a89aa009dc11f552 (patch)
tree4cefd06af989608ea8ebd3bc6306889e2a1ad175 /moon-abe/pbc-0.5.14/include/pbc_memory.h
parent840ac3ebca7af381132bf7e93c1e4c0430d6b16a (diff)
moon-abe cleanup
Change-Id: Ie1259856db03f0b9e80de3e967ec6bd1f03191b3
Diffstat (limited to 'moon-abe/pbc-0.5.14/include/pbc_memory.h')
-rw-r--r--moon-abe/pbc-0.5.14/include/pbc_memory.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/moon-abe/pbc-0.5.14/include/pbc_memory.h b/moon-abe/pbc-0.5.14/include/pbc_memory.h
deleted file mode 100644
index 4c71a2e0..00000000
--- a/moon-abe/pbc-0.5.14/include/pbc_memory.h
+++ /dev/null
@@ -1,24 +0,0 @@
-// Requires:
-// * stdlib.h
-#ifndef __PBC_MEMORY_H__
-#define __PBC_MEMORY_H__
-
-// Memory allocation functions used by PBC.
-extern void *(*pbc_malloc)(size_t);
-extern void *(*pbc_realloc)(void *, size_t);
-extern void (*pbc_free)(void *);
-
-void *pbc_calloc(size_t, size_t);
-
-/*@manual alloc
-Set custom allocation functions. The parameters must be function pointers to
-drop-in replacements for malloc, realloc and free, except that malloc and
-realloc should terminate the program on failure: they must not return in this
-case.
-*/
-void pbc_set_memory_functions(void *(*malloc_fn)(size_t),
- void *(*realloc_fn)(void *, size_t), void (*free_fn)(void *));
-
-char *pbc_strdup(const char *s);
-
-#endif //__PBC_MEMORY_H__