summaryrefslogtreecommitdiff
path: root/wrapper.c
diff options
context:
space:
mode:
authorJason Toffaletti <[email protected]>2014-01-06 20:05:35 +0000
committerJason Toffaletti <[email protected]>2014-01-06 20:05:35 +0000
commit32bf5f0a234e0c3cd00dc8eec349ee820f765f19 (patch)
treef118a770bb7eb0cd83a049a80f8cce3975489143 /wrapper.c
parentd1245446685ccdc632b6a9cee65391cbe4eac4df (diff)
wip wrapping git_remote
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 */