https://github.com/git/git
Revision d3fae2a076c42da510f5ee3dfba138fb7da0d151 authored by Rafael Hovhannisyan on 09 July 2014, 23:04:49 UTC, committed by Rafael Hovhannisyan on 09 July 2014, 23:04:49 UTC
1 parent 81e776d
Raw File
Tip revision: d3fae2a076c42da510f5ee3dfba138fb7da0d151 authored by Rafael Hovhannisyan on 09 July 2014, 23:04:49 UTC
Update gettext.c
Tip revision: d3fae2a
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