[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: toLua : Bug when defining a constant
- From: "RJP Computing" <rjpcomputing@...>
- Date: Tue, 7 Aug 2007 18:19:19 -0400
I think I found a bug when defining a constant.
Take the following example packge:
#define DEBUG 2
In the generated file it doesn't reference the 'DEBUG' anywhere, it just produces this line:
tolua_constant(tolua_S,"DEBUG",DEBUG);
I might have the wrong idea about how this works, but I expected it to place the number I supplied instead of the 'DEBUG'.
--
Regards,
Ryan
RJP Computing