[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Passing arrays or vectors to lua using tolua++ ?
- From: Norman Link <norman.link@...>
- Date: Mon, 14 Jul 2008 22:54:51 +0200
I searched the internet for a very long time but found no solution to my
problem, although it might be quite easy to solve. What I'm trying to do
is to send a dynamic array or a vector to lua.
My function has this body:
I want to use it in Lua like this:
myArray = myClass:GetArray()
Is there a way to get it working somehow using tolua++? It has to be as
generic as possible, I want to use tolua++ and a package file.
Thanks in advance,