summaryrefslogtreecommitdiff
path: root/include/git2/deprecated.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-06-16 00:23:01 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2019-06-16 00:23:01 +0100
commitb7791d0426884088743a8dafac1001de21650285 (patch)
treec0a1fdf2b2d97a046c412fe29421e35a7e8d7e84 /include/git2/deprecated.h
parentfef847ae57d74e93563bc04222d9da7007fffc4f (diff)
downloadlibgit2-ethomson/object_size.tar.gz
object: rename git_object__size to git_object_sizeethomson/object_size
We don't use double-underscores in the public API.
Diffstat (limited to 'include/git2/deprecated.h')
-rw-r--r--include/git2/deprecated.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/git2/deprecated.h b/include/git2/deprecated.h
index 09388cbb4..0195917bb 100644
--- a/include/git2/deprecated.h
+++ b/include/git2/deprecated.h
@@ -235,6 +235,8 @@ GIT_EXTERN(void) giterr_set_oom(void);
#define GIT_OBJ_OFS_DELTA GIT_OBJECT_OFS_DELTA
#define GIT_OBJ_REF_DELTA GIT_OBJECT_REF_DELTA
+GIT_EXTERN(size_t) git_object__size(git_object_t type);
+
/**@}*/
/** @name Deprecated Reference Constants