Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-04-30 01:22:06 +0400
committerRussell Belfer <rb@github.com>2013-04-30 01:22:06 +0400
commitd77611022c4a43d5e67cf52ce2bc2b11ee5bcdc0 (patch)
treed59b9eb5648f5603db6e68c0cefd14ce7049e8e5 /src/blob.c
parentb7f167da29effa125663b143d3daf79a6ad88d2e (diff)
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.c2
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);