diff options
| author | ruki <[email protected]> | 2024-04-02 21:01:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-04-02 21:01:59 +0800 |
| commit | 6953ca0c43ff4cb08fc9f76eabb5415a892e5167 (patch) | |
| tree | 5b3a9155c882574ac00de5106a691f27a7b0957a /tests/projects/other/native_module/xmake.lua | |
| parent | 8c9cd4bc8ce80bbf0c2dc56424c3e629c902dbba (diff) | |
add multiple interfaces for bar
Diffstat (limited to 'tests/projects/other/native_module/xmake.lua')
| -rw-r--r-- | tests/projects/other/native_module/xmake.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/projects/other/native_module/xmake.lua b/tests/projects/other/native_module/xmake.lua index 628248534..44b310649 100644 --- a/tests/projects/other/native_module/xmake.lua +++ b/tests/projects/other/native_module/xmake.lua @@ -8,7 +8,9 @@ target("test") on_config(function (target) -- import("shared.foo") import("binary.bar") --- print("1 + 1 = %d", foo.add(1, 1)) - print("%s", bar("hello", "xmake!")) +-- 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")) end) |
