Files
Compound/attr.h

19 lines
375 B
C

#ifndef COMPOUND_ATTR_H
# define COMPOUND_ATTR_H
# include <Compound/name.h>
typedef struct _Attribute{
int serialNo;
int (*exec)(void *);
struct _Attribute *prev;
} attr(Executive) Attribute;
/* The base of every attribute. */
# define Attributable (Attribute){\
.value = 0,\
.exec = HANDLER /* Use report handler here. */\
};
#endif /* COMPOUND_ATTR_H */