diff options
author | Damien PROFETA <damien.profeta@amadeus.com> | 2014-12-19 15:31:49 +0100 |
---|---|---|
committer | Damien PROFETA <damien.profeta@amadeus.com> | 2014-12-19 15:31:49 +0100 |
commit | ceb651c9b0604be7be3b8e29653997c6f7826367 (patch) | |
tree | 57422f6984baf563f5218feb2fd5b0876a046501 /include | |
parent | 629417bd10d3308f1ee6fedd5bbb206a259337aa (diff) | |
download | libgit2-ceb651c9b0604be7be3b8e29653997c6f7826367.tar.gz |
Fix public header on sys/refs.h
GIT_BEGIN/END_DECL were missing from sys/refs.h and preventing
compilation with g++ as the symbol were mangled.
Diffstat (limited to 'include')
-rw-r--r-- | include/git2/sys/refs.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/git2/sys/refs.h b/include/git2/sys/refs.h index dd95ca12c..d2ce2e0b9 100644 --- a/include/git2/sys/refs.h +++ b/include/git2/sys/refs.h @@ -12,6 +12,15 @@ #include "git2/oid.h" /** + * @file git2/sys/refs.h + * @brief Low-level Git ref creation + * @defgroup git_backend Git custom backend APIs + * @ingroup Git + * @{ + */ +GIT_BEGIN_DECL + +/** * Create a new direct reference from an OID. * * @param name the reference name @@ -35,4 +44,6 @@ GIT_EXTERN(git_reference *) git_reference__alloc_symbolic( const char *name, const char *target); +/** @} */ +GIT_END_DECL #endif |