seqlua
diff seqlualib.c @ 57:da4b9d6a5b7e
Fixed bug due to problem combining luaL_buffinit with seqlua_iterinit
author | jbe |
---|---|
date | Tue Jan 05 04:26:49 2016 +0100 (2016-01-05) |
parents | 92ce3958aca7 |
children |
line diff
1.1 --- a/seqlualib.c Wed Aug 27 00:31:43 2014 +0200 1.2 +++ b/seqlualib.c Tue Jan 05 04:26:49 2016 +0100 1.3 @@ -8,6 +8,8 @@ 1.4 #define SEQLUA_ITERTYPE_INDEX 3 1.5 #define SEQLUA_ITERTYPE_RAW 4 1.6 1.7 +// TODO: allow combining luaL_buffinit with seqlua_iterinit somehow 1.8 + 1.9 void seqlua_iterinit(lua_State *L, seqlua_Iterator *iter, int idx) { 1.10 if (luaL_getmetafield(L, idx, "__ipairs")) { 1.11 lua_pushvalue(L, idx);