diff options
author | Junio C Hamano <junkio@cox.net> | 2006-07-03 03:14:32 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-07-03 03:16:52 -0700 |
commit | f23c75a8eca5eeabf9aaf303ee7e14a94da42ddc (patch) | |
tree | e8379d2e091dcdabb623ebbe8b7a1ee53be308a9 /object.h | |
parent | 160b7983034cdd24ea1bf6ef7a2532a2296461c6 (diff) | |
parent | 8fced61cbc32f0c4b81a3dcecfeb40b7d96339ce (diff) | |
download | git-f23c75a8eca5eeabf9aaf303ee7e14a94da42ddc.tar.gz |
Merge branch 'master' into js/merge-base
This is to pull in the object-hash clean-up from the master branch.
Diffstat (limited to 'object.h')
-rw-r--r-- | object.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -40,10 +40,11 @@ struct object { }; extern int track_object_refs; -extern int obj_allocs; -extern struct object **objs; extern const char *type_names[]; +extern unsigned int get_max_object_index(void); +extern struct object *get_indexed_object(unsigned int); + static inline const char *typename(unsigned int type) { return type_names[type > TYPE_TAG ? TYPE_BAD : type]; |