lua-users home
lua-l archive

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


At 2003-05-13 03:42, you wrote:
Foo bar;

MyFunction( &bar );

And I'd like my lua script to be as close to this as possible. I'm guessing I have to user the userdata type but I'm struggling to work out how. Is there a way to do this? Is there a tutorial on using userdata? I can't find one specific to it.

Maybe luabind could be to some help (if you're using C++).
http://luabind.sf.net


---
Arvid Norberg