summaryrefslogtreecommitdiff
path: root/gtest/script/call_cfunction.lua
diff options
context:
space:
mode:
author“pengxuanzheng” <[email protected]>2022-07-08 05:54:40 +0000
committer“pengxuanzheng” <[email protected]>2022-07-12 07:28:14 +0000
commitd232643ada60cb3c2ec495c0009460470c14ed8c (patch)
treeb6ba6b6693fd9f8bb1e962e412aaaa543569a945 /gtest/script/call_cfunction.lua
parentb19d688c161dacfd4a48a12970a5185c4c1b6437 (diff)
🐞 fix(TSG-11123): 修复c_pull_param_from_lua 段错误
Diffstat (limited to 'gtest/script/call_cfunction.lua')
-rw-r--r--gtest/script/call_cfunction.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtest/script/call_cfunction.lua b/gtest/script/call_cfunction.lua
index 4315297..641bcae 100644
--- a/gtest/script/call_cfunction.lua
+++ b/gtest/script/call_cfunction.lua
@@ -2,5 +2,5 @@ local data = TSG.data
local str = TSG.get.get_hello()
-local ret = TSG.set.set_world(str)
+local ret = TSG.set.set_world(str, "world")
return string.len(ret), ret \ No newline at end of file