X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Ftypes%2Fimpl_type.h;h=330a9780f85a58f4032e83b8c4f4be700f2ec1e6;hp=e1197e7fa6afd05c90e11bbcd5766bbbe9300318;hb=c9384515a81cb64d345b299908b2852f51bb8e6e;hpb=2f5af21b263403997e154658635d6b6e6eaab453 diff --git a/src/types/impl_type.h b/src/types/impl_type.h index e1197e7..330a978 100644 --- a/src/types/impl_type.h +++ b/src/types/impl_type.h @@ -28,12 +28,14 @@ #include "token.h" -typedef struct impl_type { +struct psi_impl_type { + struct psi_token *token; char *name; token_t type; -} impl_type; +}; -impl_type *init_impl_type(token_t type, const char *name); -void free_impl_type(impl_type *type); +struct psi_impl_type *psi_impl_type_init(token_t type, const char *name); +void psi_impl_type_free(struct psi_impl_type **type_ptr); +void psi_impl_type_dump(int fd, struct psi_impl_type *type); #endif