diff options
| author | “pengxuanzheng” <[email protected]> | 2022-07-04 08:48:52 +0000 |
|---|---|---|
| committer | “pengxuanzheng” <[email protected]> | 2022-07-04 08:48:52 +0000 |
| commit | 226e79434842626346ae378f408531d2d19059c7 (patch) | |
| tree | 045c0392d14baac7f75a960f583269864c66e8a0 /gtest/script/call_cfunction.lua | |
| parent | 512e852a76af00389c3340029144777aa7e69466 (diff) | |
✨ feat(TSG-11123): 增加单元测试
Diffstat (limited to 'gtest/script/call_cfunction.lua')
| -rw-r--r-- | gtest/script/call_cfunction.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtest/script/call_cfunction.lua b/gtest/script/call_cfunction.lua new file mode 100644 index 0000000..4315297 --- /dev/null +++ b/gtest/script/call_cfunction.lua @@ -0,0 +1,6 @@ +local data = TSG.data + +local str = TSG.get.get_hello() + +local ret = TSG.set.set_world(str) +return string.len(ret), ret
\ No newline at end of file |
