fix cases where compoundlits are constant/get an entity
[cparser] / attribute.h
1 #ifndef ATTRIBUTE_H
2 #define ATTRIBUTE_H
3
4 #include "entity.h"
5 #include "type.h"
6
7 typedef struct attribute_t attribute_t;
8
9 const char *get_deprecated_string(const attribute_t *attribute);
10
11 type_t *handle_type_attributes(const attribute_t *attributes, type_t *type);
12 void handle_entity_attributes(const attribute_t *attributes, entity_t *entity);
13 type_t *handle_attribute_mode(const attribute_t *attribute, type_t *orig_type);
14
15 #endif