[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua/tolua 4 questions
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 5 Apr 2001 14:29:01 -0300 (EST)
>how do i pull the function name out of an argument so if i have the
>following in lua 4 script ?
>glutDisplayFunc( display )
>i want to get "display" in the c wrapper so i can pass it to
>lua_getglobal for lua_call later ?
Do you really want to name "display" or just its value?
If it's the value, then you want to save a reference to it somewhere
and the lua_call it (after lua_getref).