[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Passing multidimensional arrays using tolua
- From: "etabubu" <marco@...>
- Date: Wed, 20 Feb 2002 15:31:34 -0000
Hi!
We're using tolua to make our 3d engine scriptable. All is ok, but
now we have this problem: tolua doesn't generate a correct C source
if in the input .H file there's a declaration of multidimensional
array!
Example: we have in our cleaned header file
float Vertex[4][4];
The generated .C cannot be compiled because tolua thinks the second
dimension is the value (or something like that).
And VC++ stops with "Cannot convert from 'float' to 'float[4]'"
What can we do?
Thx!
Bye Bye
F104/NA