Merge pull request #2768 from dprofeta/fix/c++-refs

Fix public header on sys/refs.h
This commit is contained in:
Carlos Martín Nieto 2014-12-20 08:06:48 +00:00
commit 6afc0bfad9

View File

@ -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