summaryrefslogtreecommitdiff
path: root/src/oidarray.h
diff options
context:
space:
mode:
authorVicent Marti <vicent@github.com>2014-08-29 18:19:56 +0200
committerVicent Marti <vicent@github.com>2014-08-29 18:19:56 +0200
commit46a13f32472741f0ed66db7cb75c8cff279886ad (patch)
tree9faad1600432d9f014fedf4775d3f99359937e9d /src/oidarray.h
parentd99c8ca1783cfd04869e88f8707c036fc6053a05 (diff)
parent7db0e6ee48fd68009a7e78cbcbca125d6ce9008d (diff)
downloadlibgit2-46a13f32472741f0ed66db7cb75c8cff279886ad.tar.gz
Merge pull request #2481 from libgit2/cmn/oidarray
merge: expose multiple merge bases
Diffstat (limited to 'src/oidarray.h')
-rw-r--r--src/oidarray.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/oidarray.h b/src/oidarray.h
new file mode 100644
index 000000000..a7215ae6c
--- /dev/null
+++ b/src/oidarray.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (C) the libgit2 contributors. All rights reserved.
+ *
+ * This file is part of libgit2, distributed under the GNU GPL v2 with
+ * a Linking Exception. For full terms see the included COPYING file.
+ */
+#ifndef INCLUDE_oidarray_h__
+#define INCLUDE_oidarray_h__
+
+#include "common.h"
+#include "git2/oidarray.h"
+#include "array.h"
+
+typedef git_array_t(git_oid) git_array_oid_t;
+
+extern void git_oidarray__from_array(git_oidarray *arr, git_array_oid_t *array);
+
+#endif