diff options
Diffstat (limited to 'include/BLua.h')
-rw-r--r-- | include/BLua.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/BLua.h b/include/BLua.h index f1401fd..f714981 100644 --- a/include/BLua.h +++ b/include/BLua.h @@ -94,7 +94,7 @@ class Lua : public Base { void push(void * p) { checkstack(); lua_pushlightuserdata(L, p); } void push(lua_CFunction f, int n = 0) { checkstack(); lua_pushcclosure(L, f, n); } void pop(int n = 1) { lua_pop(L, n); } - int next(int t = -2) { lua_next(L, t); } + int next(int t = -2) { return lua_next(L, t); } int checkstack(int extra = 1) { return lua_checkstack(L, extra); } void copy(int n = -1) { checkstack(); lua_pushvalue(L, n); } void remove(int n = 1) { lua_remove(L, n); } |