[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: passing values to lua
- From: Ariel Manzur <listas@...>
- Date: Wed, 22 Sep 2004 11:48:37 -0400
Take a look at the code generated by tolua, you can use
'tolua_pushusertype', or 'tolua_pushusertype_and_takeownership' for values
owned by the luastate.. You can use those to push values for functions, or
use with setglobal or something.
Hope that helps..
On Fri, Sep 17, 2004 at 12:47:54PM -0400, Bounty Hunter wrote:
> How can I pass v to lua scripts, so I can do the following: