diff options
| author | ShadowNinja <shadowninja@minetest.net> | 2013-11-05 12:06:15 -0500 |
|---|---|---|
| committer | ShadowNinja <shadowninja@minetest.net> | 2013-11-15 14:13:31 -0500 |
| commit | 371b39a09a0bf248d674fae718f5ff369e895b66 (patch) | |
| tree | da8bb27e27a9c89eac895d211721de11a3781533 /src/script/lua_api/l_base.h | |
| parent | 3f519eb72922607329e1e6a48768d84d1f443efc (diff) | |
| download | minetest-371b39a09a0bf248d674fae718f5ff369e895b66.tar.xz | |
Pass a errfunc to lua_pcall to get a traceback
Diffstat (limited to 'src/script/lua_api/l_base.h')
| -rw-r--r-- | src/script/lua_api/l_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/lua_api/l_base.h b/src/script/lua_api/l_base.h index 71ebd215c..808043bd4 100644 --- a/src/script/lua_api/l_base.h +++ b/src/script/lua_api/l_base.h @@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #define L_BASE_H_ #include "common/c_types.h" +#include "common/c_internal.h" extern "C" { #include <lua.h> |
