summaryrefslogtreecommitdiff
path: root/Examples/test-suite/namespace_enum.i
blob: 82a97c630d0fb45f821bdafa4dc7c09c6cd13b47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
%module namespace_enum

%inline %{

namespace Foo {
   enum Swig {
       LAGER,
       STOUT,
       ALE
    };

   class Bar {
   public:
        enum Speed {
            SLOW,
            FAST
        };
   };
}

%}