From 3cd474599f1ede41863c523ddf76c94941b08164 Mon Sep 17 00:00:00 2001 From: Thiago Farina Date: Sat, 28 Aug 2010 23:04:17 -0300 Subject: object.h: Add OBJECT_ARRAY_INIT macro and make use of it. Signed-off-by: Thiago Farina Signed-off-by: Junio C Hamano --- object.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'object.h') 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 -- cgit v1.2.3