From: <in...@gm...> - 2007-03-01 12:48:50
|
Consider the two files below: ------------ test.h #define AAA 7%4 struct BBB { int integer[AAA]; }; ------------ test.i %module test %include "test.h" After execute the command: D:\Work\swigwin-1.3.28>swig -lua test.i I got error below: test.h(1): Warning(305): Bad constant value (ignored). test.h(3): Error: Syntax error in input(3). It is seems that the % operator is not supported. Is this a defect already known or is there a mean to bypass this problem? Thanks. |