18 lines
204 B
C
18 lines
204 B
C
|
|
#ifndef IFC_TYPE_H_
|
||
|
|
#define IFC_TYPE_H_
|
||
|
|
|
||
|
|
enum type_id {
|
||
|
|
TYPE_NONE,
|
||
|
|
TYPE_INT,
|
||
|
|
TYPE_STRING,
|
||
|
|
TYPE_OTHER,
|
||
|
|
};
|
||
|
|
|
||
|
|
struct type {
|
||
|
|
enum type_id ty_id;
|
||
|
|
};
|
||
|
|
|
||
|
|
extern void type_print(const struct type *ty);
|
||
|
|
|
||
|
|
#endif
|