Merge branch 'master' into js/merge-base

This is to pull in the object-hash clean-up from the master branch.
This commit is contained in:
Junio C Hamano
2006-07-03 03:14:32 -07:00
13 changed files with 172 additions and 104 deletions

View File

@@ -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];