lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, Sep 1, 2014 at 8:13 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> More accurately, it should return the number of values it pushed,
>> which for most push functions will always be 1.
>
> lua_pushlstring and friends already return the pushed string,
> and that is useful.
>

Well, that definitely trumps my idea then. I guess I'll just go back
to writing "return 1" a lot. ;-)

-- 
Sent from my Game Boy.