summaryrefslogtreecommitdiff
path: root/include/git2/oid.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-06-16 02:36:21 +0200
committerVicent Marti <tanoku@gmail.com>2011-06-16 02:36:21 +0200
commitfa48608ec30758dbf6d0d26d3c4f8efba8efe8e9 (patch)
tree31e3cc7bedaa6c4d3a8b8d37903991ed811eb02d /include/git2/oid.h
parent43521d0688c744e98f07f19dd0b15e6b2c763693 (diff)
downloadlibgit2-fa48608ec30758dbf6d0d26d3c4f8efba8efe8e9.tar.gz
oid: Rename methods
Yeah. Finally. Fuck the old names, this ain't POSIX and they don't make any sense at all.
Diffstat (limited to 'include/git2/oid.h')
-rw-r--r--include/git2/oid.h4
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.