https://github.com/git/git
Revision a8732f64978ed5debd60a3f49c85421b2e769492 authored by Miu Mok on 29 January 2020, 22:53:31 UTC, committed by GitHub on 29 January 2020, 22:53:31 UTC
1 parent a6c87f2
Raw File
Tip revision: a8732f64978ed5debd60a3f49c85421b2e769492 authored by Miu Mok on 29 January 2020, 22:53:31 UTC
Revert "Create greetings.yml"
Tip revision: a8732f6
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