diff options
author | Russell Belfer <rb@github.com> | 2013-04-29 14:22:06 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-04-29 14:22:06 -0700 |
commit | d77611022c4a43d5e67cf52ce2bc2b11ee5bcdc0 (patch) | |
tree | d59b9eb5648f5603db6e68c0cefd14ce7049e8e5 /src/blob.c | |
parent | b7f167da29effa125663b143d3daf79a6ad88d2e (diff) | |
download | libgit2-d77611022c4a43d5e67cf52ce2bc2b11ee5bcdc0.tar.gz |
Standardize cast versions of git_object accessors
This removes the GIT_INLINE versions of the simple git_object
accessors and standardizes them with a helper macro in src/object.h
to build the function bodies.
Diffstat (limited to 'src/blob.c')
-rw-r--r-- | src/blob.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/blob.c b/src/blob.c index a68c4cc3e..d656576b8 100644 --- a/src/blob.c +++ b/src/blob.c @@ -15,6 +15,8 @@ #include "filter.h" #include "buf_text.h" +GIT_OBJ_WRAPPER(git_blob, GIT_OBJ_BLOB) + const void *git_blob_rawcontent(const git_blob *blob) { assert(blob); |