lua-users home
lua-l archive

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


Because function are first-level objects, and they stored in regular
variables, you can call any function that assigned to variable you
have access to. Of cource, if it is anounimus function (function not
assigned to any variable) or local variable with function that is out
of the scope - you have no way to call it.

>From scipt hosting application, you can acces global variables and
parameters passed to C function. I'm not sure if it possible to access
upvalues of calling Lua function from C function.

On 4/28/05, stukov@gala.net <stukov@gala.net> wrote:
> Hi all!
> 
> Is there a way to call local Lua function from C ?
> Can i enumerate local Lua functions\variables from C ?
> 
> Thanks.
> Alexi Stukov.
> 
> ____________________________________________________________
> 
> Бесплатная почтовая служба Gala Mail - http://mail.gala.net/
> WEB, WAP и POP3 доступ, мощные фильтры и защита от спама.
> 
> 


-- 
Best regards,
Zigmar