parser: extern var support
[m6w6/ext-psi] / src / types / const_type.h
index 7ca6d6e35bb51c8553ca31b6b19923915fe5f5d6..42fc58fb2e613633b32dbd76ef55d670467c591a 100644 (file)
 
 #include "token.h"
 
 
 #include "token.h"
 
-typedef struct const_type {
+struct psi_const_type {
        token_t type;
        char *name;
        token_t type;
        char *name;
-} const_type;
+};
 
 
-const_type *init_const_type(token_t type, const char *name);
-void free_const_type(const_type *type);
-void dump_const_type(int fd, const_type *type);
+struct psi_const_type *psi_const_type_init(token_t type, const char *name);
+void psi_const_type_free(struct psi_const_type **type_tr);
+void psi_const_type_dump(int fd, struct psi_const_type *type);
 
 #endif
 
 #endif