Commit 3490188b by Vicent Marti

Change the return type of `git_blob_rawcontent`

Should return `void *` for raw bytes.

Signed-off-by: Vicent Marti <tanoku@gmail.com>
parent e0011be3
......@@ -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
......
......@@ -30,7 +30,7 @@
#include "common.h"
#include "blob.h"
const char *git_blob_rawcontent(git_blob *blob)
const void *git_blob_rawcontent(git_blob *blob)
{
assert(blob);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment