summaryrefslogtreecommitdiff
path: root/tests/projects/other/native_module/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-02 22:49:44 +0800
committerruki <[email protected]>2024-04-02 22:49:44 +0800
commitf0cb5ad5d4aa420151f87ad497656bc68be182da (patch)
tree4180f030d8245945a5802bdeec247d25e5ef138a /tests/projects/other/native_module/xmake.lua
parent6953ca0c43ff4cb08fc9f76eabb5415a892e5167 (diff)
call binary module
Diffstat (limited to 'tests/projects/other/native_module/xmake.lua')
-rw-r--r--tests/projects/other/native_module/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/projects/other/native_module/xmake.lua b/tests/projects/other/native_module/xmake.lua
index 44b310649..e5564cf4f 100644
--- a/tests/projects/other/native_module/xmake.lua
+++ b/tests/projects/other/native_module/xmake.lua
@@ -10,7 +10,7 @@ target("test")
import("binary.bar")
-- print("shared: 1 + 1 = %d", foo.add(1, 1))
-- print("shared: 1 - 1 = %d", foo.sub(1, 1))
- print("binary: 1 + 1 = %s", bar.add("1", "1"))
- print("binary: 1 - 1 = %s", bar.sub("1", "1"))
+ print("binary: 1 + 1 = %s", bar.add(1, 1))
+ print("binary: 1 - 1 = %s", bar.sub(1, 1))
end)