diff options
Diffstat (limited to 'include/git2/oid.h')
-rw-r--r-- | include/git2/oid.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/oid.h b/include/git2/oid.h index 3097a2d22..74d5bd3d4 100644 --- a/include/git2/oid.h +++ b/include/git2/oid.h @@ -61,14 +61,14 @@ typedef struct { * needed for an oid encoded in hex (40 bytes). * @return GIT_SUCCESS if valid; GIT_ENOTOID on failure. */ -GIT_EXTERN(int) git_oid_mkstr(git_oid *out, const char *str); +GIT_EXTERN(int) git_oid_fromstr(git_oid *out, const char *str); /** * Copy an already raw oid into a git_oid structure. * @param out oid structure the result is written into. * @param raw the raw input bytes to be copied. */ -GIT_EXTERN(void) git_oid_mkraw(git_oid *out, const unsigned char *raw); +GIT_EXTERN(void) git_oid_fromraw(git_oid *out, const unsigned char *raw); /** * Format a git_oid into a hex string. |