Revision 0e8c09263e87c548de006cdb6af035d42f845087 authored by Junio C Hamano on 25 March 2014, 18:08:19 UTC, committed by Junio C Hamano on 25 March 2014, 18:08:19 UTC
* nd/index-pack-error-message:
  index-pack: report error using the correct variable
2 parent s 66d9133 + de983a0
Raw File
decorate.h
#ifndef DECORATE_H
#define DECORATE_H

struct object_decoration {
	const struct object *base;
	void *decoration;
};

struct decoration {
	const char *name;
	unsigned int size, nr;
	struct object_decoration *hash;
};

extern void *add_decoration(struct decoration *n, const struct object *obj, void *decoration);
extern void *lookup_decoration(struct decoration *n, const struct object *obj);

#endif
back to top