From: Jérémie Astor Date: Sun, 12 Jul 2020 17:17:20 +0000 (+0200) Subject: :art: Naming X-Git-Tag: nightly~1443 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=e22d82dbcad32a4a2e3a20248c398330beab77ee;p=gwion.git :art: Naming --- diff --git a/src/compile.c b/src/compile.c index 6aca68ba..b4faf42f 100644 --- a/src/compile.c +++ b/src/compile.c @@ -144,12 +144,12 @@ ANN m_uint compile_filename(struct Gwion_* gwion, const m_str filename) { return compile(gwion, &c); } -ANN m_uint compile_string(struct Gwion_* vm, const m_str filename, const m_str data) { +ANN m_uint compile_string(struct Gwion_* gwion, const m_str filename, const m_str data) { struct Compiler c = { .base=filename, .type=COMPILE_MSTR, .data=data }; - return compile(vm, &c); + return compile(gwion, &c); } -ANN m_uint compile_file(struct Gwion_* vm, const m_str filename, FILE* file) { +ANN m_uint compile_file(struct Gwion_* gwion, const m_str filename, FILE* file) { struct Compiler c = { .base=filename, .type=COMPILE_FILE, .file=file }; - return compile(vm, &c); + return compile(gwion, &c); }