lua-users home
lua-l archive

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


Luiz,

Thanks a lot for your prompt help...

Regards,
Lee

-----Original Message-----
From: owner-lua-l@tecgraf.puc-rio.br
[mailto:owner-lua-l@tecgraf.puc-rio.br]On Behalf Of Luiz Henrique de
Figueiredo
Sent: 18 February 2002 17:36
To: Multiple recipients of list
Subject: Re: File and Line Number question


>>From C, given a table 'Object2' and the name of a function
>'SomeFunctionDefinedElsewhere', I need to find out in which file this
>function resides, and also on which line.

Use lua_getinfo on the result of lua_getglobal.
--lhf