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>
This commit is contained in:
Thiago Farina
2010-08-28 23:04:17 -03:00
committed by Junio C Hamano
parent 515cc01019
commit 3cd474599f
7 changed files with 8 additions and 6 deletions

View File

@ -21,6 +21,8 @@ struct object_array {
} *objects;
};
#define OBJECT_ARRAY_INIT { 0, 0, NULL }
#define TYPE_BITS 3
#define FLAG_BITS 27