diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2007-04-16 16:03:15 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-04-16 16:51:09 -0700 |
commit | a59b276e18f3d4a548caf549e05188cb1bd3a709 (patch) | |
tree | 2633d6fd7b33dddee9c1d7ed35d6061bffc957ba /object.h | |
parent | 402fa75eed29c104ae5392ce88560f6bffc64ce7 (diff) | |
download | git-a59b276e18f3d4a548caf549e05188cb1bd3a709.tar.gz |
Add a generic "object decorator" interface, and make object refs use it
This allows you to add an arbitrary "decoration" of your choice to any
object. It's a space- and time-efficient way to add information to
arbitrary objects, especially if most objects probably do not have the
decoration.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'object.h')
-rw-r--r-- | object.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -8,7 +8,6 @@ struct object_list { struct object_refs { unsigned count; - struct object *base; struct object *ref[FLEX_ARRAY]; /* more */ }; |