[Date Prev][Date Next][Thread Prev][Thread Next]
- 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
From: Christophe Gimenez <firstname.lastname@example.org>
To: Multiple recipients of list <email@example.com>
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...
It sounds like you'd be better off using a table to contain each function and all the argument
information you want.