diff options
Diffstat (limited to 'lauxlib.c')
-rw-r--r-- | lauxlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -951,7 +951,7 @@ LUALIB_API const char *luaL_tolstring (lua_State *L, int idx, size_t *len) { | |||
951 | LUALIB_API void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup) { | 951 | LUALIB_API void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup) { |
952 | luaL_checkstack(L, nup, "too many upvalues"); | 952 | luaL_checkstack(L, nup, "too many upvalues"); |
953 | for (; l->name != NULL; l++) { /* fill the table with given functions */ | 953 | for (; l->name != NULL; l++) { /* fill the table with given functions */ |
954 | if (l->func == NULL) /* place holder? */ | 954 | if (l->func == NULL) /* placeholder? */ |
955 | lua_pushboolean(L, 0); | 955 | lua_pushboolean(L, 0); |
956 | else { | 956 | else { |
957 | int i; | 957 | int i; |