summaryrefslogtreecommitdiff
path: root/tests/projects/xmake_cli/hello
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-22 23:50:51 +0800
committerruki <[email protected]>2020-04-22 17:05:10 +0800
commit00f34ec89f7735b45a3ecdb55f0952d545d73cbb (patch)
tree805b1ebb127cc86f94f1ecc6dd883294337ef00d /tests/projects/xmake_cli/hello
parent05df31effcfc9bc701387e1383b678f0914241be (diff)
pass engine name
Diffstat (limited to 'tests/projects/xmake_cli/hello')
-rw-r--r--tests/projects/xmake_cli/hello/src/lni/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/projects/xmake_cli/hello/src/lni/main.c b/tests/projects/xmake_cli/hello/src/lni/main.c
index d1ab0b0fb..298d34d57 100644
--- a/tests/projects/xmake_cli/hello/src/lni/main.c
+++ b/tests/projects/xmake_cli/hello/src/lni/main.c
@@ -21,5 +21,5 @@ tb_int_t main(tb_int_t argc, tb_char_t** argv)
#else
tb_char_t const* luaopts = "-D";
#endif
- return xm_engine_run_lua(argc, argv, lni_initalizer, luaopts);
+ return xm_engine_run_lua("hello", argc, argv, lni_initalizer, luaopts);
}