From ceb651c9b0604be7be3b8e29653997c6f7826367 Mon Sep 17 00:00:00 2001 From: Damien PROFETA Date: Fri, 19 Dec 2014 15:31:49 +0100 Subject: 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. --- include/git2/sys/refs.h | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 @@ -11,6 +11,15 @@ #include "git2/types.h" #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. * @@ -35,4 +44,6 @@ GIT_EXTERN(git_reference *) git_reference__alloc_symbolic( const char *name, const char *target); +/** @} */ +GIT_END_DECL #endif -- cgit v1.2.1