X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fcompiler.c;fp=src%2Fcompiler.c;h=0000000000000000000000000000000000000000;hp=3181aeaa25e56ca9c2be405b3f2ce1e7282dfd35;hb=7a717dad32d06fe5273ad3a9ce755908723f6685;hpb=6bdeeb7b332a272617814a4358d51bb07c872407 diff --git a/src/compiler.c b/src/compiler.c deleted file mode 100644 index 3181aea..0000000 --- a/src/compiler.c +++ /dev/null @@ -1,41 +0,0 @@ -#include - -#include - -#include -#include - -#include "compiler.h" - -PSI_Compiler *PSI_CompilerInit(PSI_Compiler *C, PSI_Validator *V, void *context) -{ - if (!C) { - C = malloc(sizeof(*C)); - } - memset(C, 0, sizeof(*C)); - - PSI_DataExchange((PSI_Data *) C, (PSI_Data *) V); - - C->context = context; - - return C; -} - -void PSI_CompilerDtor(PSI_Compiler *C) -{ - PSI_DataDtor((PSI_Data *) C); -} - -void PSI_Compiler_Free(PSI_Compiler **C) -{ - if (*C) { - PSI_CompilerDtor(*C); - free(*C); - *C = NULL; - } -} - - -zend_function_entry *PSI_CompilerCompile(PSI_Compiler *C) -{ -}