Modernize lua read (part 2 & 3): C++ templating assurance (#7410)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Sat, 30 Jun 2018 15:11:38 +0000 (17:11 +0200)
committerGitHub <noreply@github.com>
Sat, 30 Jun 2018 15:11:38 +0000 (17:11 +0200)
commiteef62c82a2e58700fc1216b0b8c03e421bc77995
tree4c49e659069036cb53d69535dc33d33f29d963f4
parent227c71eb76e019873b30e2d3893b68307d51d58f
Modernize lua read (part 2 & 3): C++ templating assurance (#7410)

* Modernize lua read (part 2 & 3): C++ templating assurance

Implement the boolean reader
Implement the string reader
Also remove unused & unimplemented script_error_handler
Add a reader with default value
35 files changed:
build/android/jni/Android.mk
src/script/common/CMakeLists.txt
src/script/common/c_internal.h
src/script/common/helper.cpp [new file with mode: 0644]
src/script/common/helper.h [new file with mode: 0644]
src/script/cpp_api/s_base.cpp
src/script/cpp_api/s_base.h
src/script/cpp_api/s_client.cpp
src/script/cpp_api/s_entity.cpp
src/script/cpp_api/s_env.cpp
src/script/cpp_api/s_node.cpp
src/script/cpp_api/s_player.cpp
src/script/cpp_api/s_security.cpp
src/script/cpp_api/s_server.cpp
src/script/lua_api/l_areastore.cpp
src/script/lua_api/l_base.cpp
src/script/lua_api/l_base.h
src/script/lua_api/l_client.cpp
src/script/lua_api/l_craft.cpp
src/script/lua_api/l_env.cpp
src/script/lua_api/l_http.cpp
src/script/lua_api/l_inventory.cpp
src/script/lua_api/l_item.cpp
src/script/lua_api/l_mainmenu.cpp
src/script/lua_api/l_mapgen.cpp
src/script/lua_api/l_metadata.cpp
src/script/lua_api/l_nodemeta.cpp
src/script/lua_api/l_object.cpp
src/script/lua_api/l_particles.cpp
src/script/lua_api/l_server.cpp
src/script/lua_api/l_settings.cpp
src/script/lua_api/l_sound.cpp
src/script/lua_api/l_storage.cpp
src/script/lua_api/l_util.cpp
src/script/lua_api/l_vmanip.cpp