Commit 432b8c11b8efbc8018bb5cff30431221cdc7b917

Vicent Martí 2013-04-02T17:09:35

Merge pull request #1453 from ethomson/refdb_export Properly GIT_EXPORT git_reference__alloc

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/refdb.h b/include/git2/refdb.h
index 8d5be8e..0586b11 100644
--- a/include/git2/refdb.h
+++ b/include/git2/refdb.h
@@ -31,7 +31,7 @@ GIT_BEGIN_DECL
  * @param symbolic the target for a symbolic reference
  * @return the created git_reference or NULL on error
  */
-git_reference *git_reference__alloc(
+GIT_EXTERN(git_reference *) git_reference__alloc(
 	git_refdb *refdb,
 	const char *name,
 	const git_oid *oid,