X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=idl%2Fold%2Fcompiler.h;fp=idl%2Fold%2Fcompiler.h;h=1dce838fe49b974db179394570e2b9747480f4f6;hb=69008ba2a7733358974c8985caa2e5bcb1182fe1;hp=0000000000000000000000000000000000000000;hpb=c6d07b29eac45a9dc6f121b6a636ff32bc7609a3;p=m6w6%2Fext-psi diff --git a/idl/old/compiler.h b/idl/old/compiler.h new file mode 100644 index 0000000..1dce838 --- /dev/null +++ b/idl/old/compiler.h @@ -0,0 +1,19 @@ +#ifndef _PSI_COMPILER_H +#define _PSI_COMPILER_H + +#include "types.h" +#include "validator.h" + +typedef struct PSI_Compiler { + decl_typedefs *defs; + decls *decls; + impls *impls; + char *lib; + char *fn; +} PSI_Compiler; + +PSI_Compiler *PSI_CompilerInit(PSI_Compiler *C, PSI_Validator *V); +void PSI_CompilerDtor(PSI_Compiler *C); +void PSI_CompilerFree(PSI_Compiler **C); + +#endif