seqlua
diff seqlualib.h @ 30:367fc70acc15
Respect the __ipairs and __len metamethods
author | jbe |
---|---|
date | Sat Aug 23 23:13:17 2014 +0200 (2014-08-23) |
parents | 44880bcfc323 |
children | 3ff7cec8d3ce |
line diff
1.1 --- a/seqlualib.h Fri Aug 22 12:27:25 2014 +0200 1.2 +++ b/seqlualib.h Sat Aug 23 23:13:17 2014 +0200 1.3 @@ -6,6 +6,7 @@ 1.4 int idx; 1.5 int itertype; 1.6 lua_Integer i; 1.7 + lua_Integer len; 1.8 } seqlua_Iterator; 1.9 1.10 extern void seqlua_iterinit(lua_State *L, seqlua_Iterator *iter, int idx);