Raugharr / Herald

GNU General Public License v2.0
1 stars 0 forks source link

replace LUA_BADARG #23

Closed Raugharr closed 10 years ago

Raugharr commented 10 years ago

LUA_BARDARG should instead be replaced with luaL_error. In order to do this a lua_panic function needs to be defined in sys/LuaHelper.c that will pass the error to sys/Log.h

Raugharr commented 10 years ago

replaced LUA_BADARG with luaL_argcheck.