diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-03-05 13:29:50 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-03-05 13:29:50 +0200 |
commit | 3490188b3c40b7a6cddd4acb11ee76db171dc5ef (patch) | |
tree | 17bc39b69d5545b0256fc948f16c1e9e592ef5a1 /include/git2/blob.h | |
parent | e0011be3301db9b287226c6c8f1794c912bb0241 (diff) | |
download | libgit2-3490188b3c40b7a6cddd4acb11ee76db171dc5ef.tar.gz |
Change the return type of `git_blob_rawcontent`
Should return `void *` for raw bytes.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'include/git2/blob.h')
-rw-r--r-- | include/git2/blob.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/blob.h b/include/git2/blob.h index b527d61f4..2b7154fb5 100644 --- a/include/git2/blob.h +++ b/include/git2/blob.h @@ -102,7 +102,7 @@ GIT_EXTERN(int) git_blob_set_rawcontent(git_blob *blob, const void *buffer, size * @param blob pointer to the blob * @return the pointer; NULL if the blob has no contents */ -GIT_EXTERN(const char *) git_blob_rawcontent(git_blob *blob); +GIT_EXTERN(const void *) git_blob_rawcontent(git_blob *blob); /** * Get the size in bytes of the contents of a blob |