X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=object.h;h=b6618d92bf04d549350d83b6237770c48734686f;hb=3601b1d3593cbe856ea79fa554233b7d6fe52b2e;hp=82877c831ca7fe39abbb98805f5801bdc6fcac9c;hpb=c444c16589f95ac22d8e3ffe603cd7f0613512ce;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