mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-15 00:24:52 +09:00
Fixed table.tostring
This commit is contained in:
1 parent
3939b13759
commit
98481696f0
1 file changed
+1
-1
@@ -438,7 +438,7 @@ end
|
||||
-- table.tostring(a) -- return '{["k1"]="foo",["k2"]="bar"}'
|
||||
-- @tparam table tbl table to convert
|
||||
-- @treturn string the converted table
|
||||
function table.to_string(tbl)
|
||||
function table.tostring(tbl)
|
||||
local result, done = {}, {}
|
||||
for k, v in ipairs(tbl) do
|
||||
table.insert(result,table.val_to_str(v))
|
||||
|
||||
Reference in new issue
Block a user