@ -176,15 +176,11 @@ local function print_element(k, v)
end
function printall(table)
if not safe_iterate(table, pairs, print_element) then
dfhack.println(tostring(table))
safe_iterate(table, pairs, print_element)
function printall_ipairs(table)
if not safe_iterate(table, ipairs, print_element) then
safe_iterate(table, ipairs, print_element)
local do_print_recurse