[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Info about functions
- From: "Javier Guerra" <javier@...>
- Date: Tue, 16 Sep 2008 18:03:26 -0500
On Tue, Sep 16, 2008 at 5:58 PM, David Dunham <david@gamehouse.com> wrote:
> I'm calling an arbitrary Lua function from C. Is there any way to tell
> whether I should push arguments or not?
just push them! they'll be ignored if unneeded.
of course, it's possible that a function has different behaviour with
and without parameters; but if you want to support both you'll need
far more information than just a list of parameters
--
Javier