[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: __call?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 17 Dec 2003 15:00:48 -0200
> To the Lua authors, are there any plans for changes in 5.1 or later to
> address these issues?
Currently we have no plans to change that. As pointed out,
lua_isfunction is different from lua_iscallable. If you really want
that, it is quite easy to define a reasonable lua_iscallable using the
current API.
About "next" for non-tables: maybe "pairs" could look for a __next
metamethod to do the iteration; that is reasonable, but we have not
discussed that yet.
-- Roberto