diff options
author | wm4 <wm4@nowhere> | 2014-02-26 22:32:57 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-26 22:32:57 +0100 |
commit | 15134935602a546103a26f4b3ecc72da25896f09 (patch) | |
tree | 4eed0a52a150e8f13814d271b1da55e439285d8e /DOCS/client_api_examples | |
parent | 5eab4f43ec562e4ea37943b5360475a9d6d9c83d (diff) | |
download | mpv-15134935602a546103a26f4b3ecc72da25896f09.tar.bz2 mpv-15134935602a546103a26f4b3ecc72da25896f09.tar.xz |
lua: mark table values returned by get_property_native with their type
Lua doesn't distinguish between arrays and maps on the language level;
there are just tables. Use metatables to mark these tables with their
actual types. In particular, it allows distinguishing empty arrays from
empty tables.
Diffstat (limited to 'DOCS/client_api_examples')
0 files changed, 0 insertions, 0 deletions