[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: tolua++ 1.0.2 and enum
- From: "Nick Trout" <nick@...>
- Date: Wed, 2 Jun 2004 14:54:32 -0700
> Is anyone using enums in their pkg files? When I attempt to do so, I
find
> that I get strange results from tolua++ 1.0.2. Here is a very simple
> example:
>
> test.pkg
> -------------------
> enum
> {
> foo
> };
>
> void doFoo(int);
Give them a name, tolua++ doesn't like anonymous enums, e.g.
enum fooenums {
foo
};
Nick