diff options
author | ShadowNinja <shadowninja@minetest.net> | 2014-05-08 23:56:36 -0400 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2014-05-24 17:32:42 -0400 |
commit | 882e12f8ab5307a7814a0b6646ef7db9b448c236 (patch) | |
tree | 726db008312cfff9906388a97d00a4c0e5ffd755 /src/inventory.cpp | |
parent | 660e63688761dc08558de030a53464d39a6ec85f (diff) | |
download | minetest-882e12f8ab5307a7814a0b6646ef7db9b448c236.tar.gz minetest-882e12f8ab5307a7814a0b6646ef7db9b448c236.tar.bz2 minetest-882e12f8ab5307a7814a0b6646ef7db9b448c236.zip |
Rework dumping functions
Changes:
* Add comments to explain the dumping code
* Add support for dumping values of any type (as '<' <type> '>')
* Add support for tables as keys in dump2()
* Make dump2() return it's result (like dump()) rather than printing it
* Simplify and optimize function serialization via serialize()
Diffstat (limited to 'src/inventory.cpp')
0 files changed, 0 insertions, 0 deletions