summaryrefslogtreecommitdiff
path: root/tests-clay/clay_helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests-clay/clay_helpers.c')
-rw-r--r--tests-clay/clay_helpers.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests-clay/clay_helpers.c b/tests-clay/clay_helpers.c
new file mode 100644
index 000000000..f1b83ca3a
--- /dev/null
+++ b/tests-clay/clay_helpers.c
@@ -0,0 +1,11 @@
+#include "clay_libgit2.h"
+
+void clay_on_init(void)
+{
+ git_threads_init();
+}
+
+void clay_on_shutdown(void)
+{
+ git_threads_shutdown();
+}