seqlua
changeset 4:44eddb9cea1e
Fixed mistake in README: seqlua_iterclosure(L, idx) respects __call, not __ipairs
author | jbe |
---|---|
date | Wed Aug 20 01:44:13 2014 +0200 (2014-08-20) |
parents | 22ec338adc20 |
children | e29e2d7b73a5 |
files | README |
line diff
1.1 --- a/README Wed Aug 20 01:22:45 2014 +0200 1.2 +++ b/README Wed Aug 20 01:44:13 2014 +0200 1.3 @@ -141,7 +141,7 @@ 1.4 which converts a table at a given stack index into a function closure (stored 1.5 on the same stack index) that iterates over the elements of the table. If the 1.6 value at the given stack index is already a function, it leaves the value 1.7 -unchanged. If the value is convertible to a function using ``__ipairs,`` then 1.8 -the function is replaced by its ``__ipairs`` metamethod. 1.9 +unchanged. If the value is convertible to a function using ``__call,`` then the 1.10 +function is replaced by its ``__call`` metamethod. 1.11 1.12