Pass a errfunc to lua_pcall to get a traceback

This commit is contained in:
ShadowNinja
2013-11-05 12:06:15 -05:00
parent 3f519eb729
commit 371b39a09a
19 changed files with 424 additions and 324 deletions

View File

@@ -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>