From: Александр Е. <cb...@ma...> - 2013-06-21 10:42:19
|
Please, help me write SWIG interface for C#. I'm try: /* example.c */ #define my_const 5; #define fff my_const*3; << I think don't understand as %csconst(1) #define MyBitPos 3; #define MyDef1 "QWERTY"; /* example.i */ %module example %csconst(1); then swig.exe -c++ -csharp -module example example.c and have "example.c(4) : Error: Syntax error in input(1)" Thank you. -- Александр Емельянов |