summaryrefslogtreecommitdiff
path: root/object.h
diff options
context:
space:
mode:
authorThiago Farina <tfransosi@gmail.com>2010-08-28 23:04:17 -0300
committerJunio C Hamano <gitster@pobox.com>2010-08-29 22:42:49 -0700
commit3cd474599f1ede41863c523ddf76c94941b08164 (patch)
tree3ea9f6249e8c08a865f5d3b309d3c77e007c04d9 /object.h
parent515cc0101943b766fde7aa894827119e332ec033 (diff)
downloadgit-3cd474599f1ede41863c523ddf76c94941b08164.tar.gz
object.h: Add OBJECT_ARRAY_INIT macro and make use of it.
Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object.h')
-rw-r--r--object.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/object.h b/object.h
index 82877c831c..4d1d61546f 100644
--- a/object.h
+++ b/object.h
@@ -21,6 +21,8 @@ struct object_array {
} *objects;
};
+#define OBJECT_ARRAY_INIT { 0, 0, NULL }
+
#define TYPE_BITS 3
#define FLAG_BITS 27