blob: 99dc89bd1e7d39607caec98b1c4efac21e8e0f1f [file] [log] [blame]
/* Swig 1.3.6 does not understand initialization of static class
constants like this. SF Bug #445221, reported by Krzysztof
Kozminski <kozminski@users.sf.net>.
*/
%module static_const_member
%inline %{
class X {
public:
static const int PN = 0;
static const int CN = 1;
static const int EN = 2;
};
%}