summaryrefslogtreecommitdiff
path: root/src/odb.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-04-01 19:38:23 +0200
committerVicent Marti <tanoku@gmail.com>2013-04-22 16:50:50 +0200
commit5df184241a6cfe88ac5ebcee9a3ad175abfca0cd (patch)
tree36136d01b6016204b5ee9b08a4efe93bf6813613 /src/odb.h
parenta92dd316079250b27cc933b1fd00cd6af88b88d9 (diff)
downloadlibgit2-5df184241a6cfe88ac5ebcee9a3ad175abfca0cd.tar.gz
lol this worked first try wtf
Diffstat (limited to 'src/odb.h')
-rw-r--r--src/odb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/odb.h b/src/odb.h
index 7c018cc50..9abf594e8 100644
--- a/src/odb.h
+++ b/src/odb.h
@@ -36,9 +36,11 @@ struct git_odb_object {
struct git_odb {
git_refcount rc;
git_vector backends;
- git_cache cache;
+ git_cache own_cache;
};
+void git_odb_object__free(git_odb_object *object);
+
/*
* Hash a git_rawobj internally.
* The `git_rawobj` is supposed to be previously initialized