X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=object.h;h=b6618d92bf04d549350d83b6237770c48734686f;hb=c16df57c5a778ef14ede7ad202c74146269d61ac;hp=82877c831ca7fe39abbb98805f5801bdc6fcac9c;hpb=03f94ae9f909952ed5a78917ab319a312889354b;p=git.git diff --git a/object.h b/object.h index 82877c831..b6618d92b 100644 --- a/object.h +++ b/object.h @@ -6,11 +6,6 @@ struct object_list { struct object_list *next; }; -struct object_refs { - unsigned count; - struct object *ref[FLEX_ARRAY]; /* more */ -}; - struct object_array { unsigned int nr; unsigned int alloc; @@ -21,6 +16,8 @@ struct object_array { } *objects; }; +#define OBJECT_ARRAY_INIT { 0, 0, NULL } + #define TYPE_BITS 3 #define FLAG_BITS 27