mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-04 00:55:04 +00:00
Fix issue #79 - git_lasterror() isn't appearing in git2.dll in windows.
The GIT_EXPORT macro is used to declare a function to be externally accessible to other libraries. This commit uses GIT_EXPORT to declare the git_lasterror() function as externally exported. I verified with depends.exe that the function is available to external callers (i.e. in the exports table of the PE file).
This commit is contained in:
parent
5711ca93d1
commit
ab86f159e5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user