lua-users home
lua-l archive

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


-----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.