summaryrefslogtreecommitdiff
path: root/wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'wrapper.c')
-rw-r--r--wrapper.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/wrapper.c b/wrapper.c
index 4543822..7519a96 100644
--- a/wrapper.c
+++ b/wrapper.c
@@ -43,4 +43,12 @@ git_remote_callbacks _go_git_remote_callbacks_init() {
return ret;
}
+void _go_git_set_strarray_n(git_strarray *array, char *str, size_t n) {
+ array->strings[n] = str;
+}
+
+char *_go_git_get_strarray_n(git_strarray *array, size_t n) {
+ return array->strings[n];
+}
+
/* EOF */