summaryrefslogtreecommitdiff
path: root/src/cache.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-04-03 22:30:07 +0200
committerVicent Marti <tanoku@gmail.com>2013-04-22 16:50:50 +0200
commit8842c75f172ed94be4ad11521d4083e97d740785 (patch)
treee864a71de4ec4745a57057541f5e5366a53c84cc /src/cache.h
parentc4e91d4500bdd357fbf7378bc10648a482513fa6 (diff)
downloadlibgit2-8842c75f172ed94be4ad11521d4083e97d740785.tar.gz
What has science done.
Diffstat (limited to 'src/cache.h')
-rw-r--r--src/cache.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cache.h b/src/cache.h
index f952830c5..3633f62a7 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -22,9 +22,10 @@ enum {
typedef struct {
git_oid oid;
- git_atomic refcount;
- uint32_t cache_size;
+ int32_t type;
+ size_t size;
uint32_t flags;
+ git_atomic refcount;
} git_cached_obj;
typedef struct {