diff options
author | wm4 <wm4@nowhere> | 2014-04-11 00:33:38 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-11 00:40:09 +0200 |
commit | 55d6e1f98d476edf488d65578d37ece7069d4ce4 (patch) | |
tree | 6233d8596ed4894b23f7c0c95db22a1b7508fbfa /DOCS | |
parent | fa35079361b18d147125c676b72a9b50a4057ebf (diff) | |
download | mpv-55d6e1f98d476edf488d65578d37ece7069d4ce4.tar.bz2 mpv-55d6e1f98d476edf488d65578d37ece7069d4ce4.tar.xz |
lua: add helper function for printing a table
Although this is something really basic, Lua's standard library doesn't
provide anything like this. Probably because there are too many ways to
do it right or wrong.
This code tries to be really careful when dealing with mixed
arrays/maps, e.g. when a table has integer keys starting from 1, making
it look like an array, but then also has other keys.
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions