Commit 86b74ea0ab267eb195f39fb5270ad513c4d4d3c5

Vicent Martí 2011-05-10T14:26:16

Merge pull request #180 from kellypleahy/bug/fix_issue_79 Fix issue #79 - git_lasterror() isn't appearing in git2.dll in windows.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/common.h b/include/git2/common.h
index 2aae648..54af72f 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -185,6 +185,8 @@ typedef struct {
 
 GIT_EXTERN(void) git_strarray_free(git_strarray *array);
 
+GIT_EXTERN(const char*) git_lasterror(void);
+
 /** @} */
 GIT_END_DECL
 #endif