blob: e323fc5116fcc4fd39bbe3dbbeab1e2712052e09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef INCLUDE_errors_h__
#define INCLUDE_errors_h__
#include "git/errors.h"
/* convenience functions */
static inline int git_int_error(int code)
{
git_errno = code;
return code;
}
static inline void *git_ptr_error(int code)
{
git_errno = code;
return NULL;
}
#endif
|