[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: tolua limitation!!
- From: Supratik Champati <champati@...>
- Date: Tue, 01 Jun 1999 11:12:19 -0400
Thanks for your response.
I tried what you suggested and get the same error.
struct vector
{
double coord[3];
};
Error Message generated -
** tolua: parse error.
Code being processed:
double coord[3];
I am using the latest version 3.0 beta.
I have compiled on IRIX6.3 and HPUX-10.2.
Thanx.
Waldemar Celes wrote:
>
> > When I try to use tolua on something like
> >
> > typedef struct vec_
> > {
> > double coord[3];
> > } vector;
> >
> > I get a parse error on double coord[3].
>
> try:
>
> struct vector
> {
> double coord[3];
> };
>
> although using C++ syntax, tolua binds this code as a C typedef.
> I will fix this limitation in the next version.
>
> -- waldemar