Hash :
b3039bee
Author :
Date :
2008-12-30T21:25:13
#ifndef INCLUDE_errors_h__
#define INCLUDE_errors_h__
#include "git/errors.h"
#include <stdlib.h>
/* convenience functions */
GIT_INLINE(int) git_int_error(int code)
{
git_errno = code;
return code;
}
GIT_INLINE(void) *git_ptr_error(int code)
{
git_errno = code;
return NULL;
}
#endif