improve lua errors handling (traceback) & lua stack leaks fixes
This commit is contained in:
@@ -38,6 +38,12 @@ namespace lua {
|
||||
inline void pop(lua::State* L, int n=1) {
|
||||
lua_pop(L, n);
|
||||
}
|
||||
inline void insert(lua::State* L, int idx) {
|
||||
lua_insert(L, idx);
|
||||
}
|
||||
inline void remove(lua::State* L, int idx) {
|
||||
lua_remove(L, idx);
|
||||
}
|
||||
inline int gettop(lua::State* L) {
|
||||
return lua_gettop(L);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user