From: fennecdjay Date: Sun, 22 Sep 2019 22:32:56 +0000 (+0200) Subject: :shirt: Clean headers X-Git-Tag: nightly~2212^2~8 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=230b544259f50725718e4993138f409707d74a6c;p=gwion.git :shirt: Clean headers --- diff --git a/include/gwiondata.h b/include/gwiondata.h index 5624a6b7..f0e31285 100644 --- a/include/gwiondata.h +++ b/include/gwiondata.h @@ -1,7 +1,5 @@ #ifndef __GWIONDATA #define __GWIONDATA -typedef struct Env_* Env; -typedef m_bool (*compilation_pass)(Env, Ast); typedef struct GwionData_ { struct Map_ freearg; MUTEX_TYPE mutex; diff --git a/src/arg.c b/src/arg.c index 9f26475b..e2e3b331 100644 --- a/src/arg.c +++ b/src/arg.c @@ -3,6 +3,7 @@ #include "gwion_ast.h" #include "soundinfo.h" #include "oo.h" +#include "env.h" #include "vm.h" #include "gwion.h" #include "arg.h" diff --git a/src/compile.c b/src/compile.c index baadc5a5..a91d8c0f 100644 --- a/src/compile.c +++ b/src/compile.c @@ -11,6 +11,7 @@ #include "emit.h" #include "compile.h" #include "gwion.h" +#include "pass.h" enum compile_type { COMPILE_NAME,