summaryrefslogtreecommitdiff
path: root/tests/projects/xmake_cli/hello
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-22 22:45:10 +0800
committerruki <[email protected]>2020-04-22 10:31:03 +0800
commit8567065df7d23e7c51880d1e36a9895a13cd4b89 (patch)
treefdb54ac92ca1d87afbe7edaa39b0f24ccf7cca8f /tests/projects/xmake_cli/hello
parent762a7bc9386a0acaede7d54453611999a589c776 (diff)
improve engine api
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 3e27cf554..dfef99794 100644
--- a/tests/projects/xmake_cli/hello/src/lni/main.c
+++ b/tests/projects/xmake_cli/hello/src/lni/main.c
@@ -5,7 +5,7 @@ tb_int_t main(tb_int_t argc, tb_char_t** argv)
tb_int_t ok = -1;
if (xm_init())
{
- xm_engine_ref_t engine = xm_engine_init();
+ xm_engine_ref_t engine = xm_engine_init(tb_null);
if (engine)
{
tb_int_t argc2 = argc + 2;