aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/_alloc_fn.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/_alloc_fn.h b/include/_alloc_fn.h
new file mode 100644
index 0000000..0ff6b58
--- /dev/null
+++ b/include/_alloc_fn.h
@@ -0,0 +1,6 @@
+#ifndef MLIB__ALLOC_FN_H
+#define MLIB__ALLOC_FN_H
+
+typedef void *(*alloc_fn)(void *ctx, void *ptr, size_t old, size_t new);
+
+#endif /* !MLIB__ALLOC_FN_H */