Staging
v0.5.1
https://github.com/git/git
Revision e5056c05ecd2bdaceaa95e12e9e94b1584ec59c8 authored by Junio C Hamano on 03 April 2012, 16:25:49 UTC, committed by Junio C Hamano on 03 April 2012, 16:30:58 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent ca2b71a
Raw File
Tip revision: e5056c05ecd2bdaceaa95e12e9e94b1584ec59c8 authored by Junio C Hamano on 03 April 2012, 16:25:49 UTC
Git 1.7.10-rc4
Tip revision: e5056c0
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