lua-users home
lua-l archive

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


Hi.

If I use this to store the reference of a function,
how I call it later?



> > void my_Lua_callable_function()
> > {
> >   int ref_to_param_1 = lua_ref(1);
> >   lua_pop();
> >   int ref_to_param_2 = lua_ref(1);
> >   lua_pop();
> > 
> >   // etc ...
> > }


__________________________________________________
Faça ligações para outros computadores com o novo Yahoo! Messenger 
http://br.beta.messenger.yahoo.com/