[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How know what functions are defined in a lua script ?
- From: "Nicholas Hesketh" <nick@...>
- Date: Tue, 28 Mar 2000 18:58:19 +0100
-----Original Message-----
From: Christophe Gimenez <chris@kandji.com>
To: Multiple recipients of list <lua-l@tecgraf.puc-rio.br>
Date: 28 March 2000 17:24
Subject: RE: How know what functions are defined in a lua script ?
>
>you can list all globals before lua_dofile, do that after as well, and
>see what globals were added. You then ask for their type to see if they
>are functions. This won't give you any information on their argument
>types, though, so it could be dodgy to make an autocall from C...
>
>
>--
>Lyrian
>
It sounds like you'd be better off using a table to contain each function and all the argument
information you want.
Nick.