[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Proposal: lua_pushfoo() should return 1
- From: Rena <hyperhacker@...>
- Date: Tue, 2 Sep 2014 11:40:51 -0400
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.