diff options
author | ShadowNinja <shadowninja@minetest.net> | 2016-03-06 14:41:26 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2016-03-07 13:37:15 -0500 |
commit | 88fbe7ca1e5451851ee0c7ab5524c39a7bb703c2 (patch) | |
tree | 53cf5103ba59dab58fd03732472be87a44c4a78a /src/script/cpp_api/s_base.cpp | |
parent | 04e311a36d15ad6c1e4436f169fe6b45e855009f (diff) | |
download | minetest-88fbe7ca1e5451851ee0c7ab5524c39a7bb703c2.tar.gz minetest-88fbe7ca1e5451851ee0c7ab5524c39a7bb703c2.tar.bz2 minetest-88fbe7ca1e5451851ee0c7ab5524c39a7bb703c2.zip |
Use LuaErrors in security check macros
Throwing a LuaError calls destructors as it propagates up the stack,
wheres lua_error just executes a longjmp.
Diffstat (limited to 'src/script/cpp_api/s_base.cpp')
0 files changed, 0 insertions, 0 deletions