X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Ftypes%2Fconst_type.h;h=42fc58fb2e613633b32dbd76ef55d670467c591a;hb=ad2c22df5e451fffecc7b7ebdc9c5a4bb36e543e;hp=7ca6d6e35bb51c8553ca31b6b19923915fe5f5d6;hpb=2f5af21b263403997e154658635d6b6e6eaab453;p=m6w6%2Fext-psi diff --git a/src/types/const_type.h b/src/types/const_type.h index 7ca6d6e..42fc58f 100644 --- a/src/types/const_type.h +++ b/src/types/const_type.h @@ -28,13 +28,13 @@ #include "token.h" -typedef struct const_type { +struct psi_const_type { 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