1#ifndef DECORATE_H
2#define DECORATE_H
34
struct object_decoration {
5struct object *base;
6void *decoration;
7};
89
struct decoration {
10const char *name;
11unsigned int size, nr;
12struct object_decoration *hash;
13};
1415
extern void *add_decoration(struct decoration *n, struct object *obj, void *decoration);
16extern void *lookup_decoration(struct decoration *n, struct object *obj);
1718
#endif