X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=idl%2Fvalidator.c;h=e81d92315a9abadc8760adb23d2490f3b53be5f8;hb=c6d07b29eac45a9dc6f121b6a636ff32bc7609a3;hp=d2b7cfee94221c38c8b248045fff24a0d5a626f9;hpb=059fffcaee65cf92b95bdbe91e5a156b89b2cf71;p=m6w6%2Fext-psi diff --git a/idl/validator.c b/idl/validator.c index d2b7cfe..e81d923 100644 --- a/idl/validator.c +++ b/idl/validator.c @@ -3,11 +3,20 @@ #include #include #include -#include "lexer.h" -#include "parser.h" -#include "types.h" + #include "validator.h" +#if INTERFACE +typedef struct PSI_Validator { + decl_typedefs *defs; + decls *decls; + impls *impls; + char *lib; + char *fn; + void *dlopened; +} PSI_Validator; +#endif + PSI_Validator *PSI_ValidatorInit(PSI_Validator *V, PSI_Lexer *L) { if (!V) {