summaryrefslogtreecommitdiffstats
path: root/tests/clar/clar_libgit2_alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/clar/clar_libgit2_alloc.h')
-rw-r--r--tests/clar/clar_libgit2_alloc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/clar/clar_libgit2_alloc.h b/tests/clar/clar_libgit2_alloc.h
new file mode 100644
index 0000000..78a18b6
--- /dev/null
+++ b/tests/clar/clar_libgit2_alloc.h
@@ -0,0 +1,11 @@
+#ifndef __CLAR_LIBGIT2_ALLOC__
+#define __CLAR_LIBGIT2_ALLOC__
+
+#include "clar.h"
+#include "common.h"
+#include "git2/sys/alloc.h"
+
+void cl_alloc_limit(size_t bytes);
+void cl_alloc_reset(void);
+
+#endif