#define is not a constant, it's a preprocessor directive.
Constant is:
const int my_const = 5;

2013/6/19 Александр Емельянов <cbsman@mail.ru>
Please, help me undestand how I can translate constants from C++ to C# with swig. I am try #define my_const 5 (for example). What I need write in interface file for access this constant from C#. Thank you.

Александр Емельянов

This SF.net email is sponsored by Windows:

Build for Windows Store.

Swig-user mailing list