Update for new enum wrapping which uses the typesafe enum pattern

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-05-31 07:14:33 +00:00
commit a1c7dc1051
3 changed files with 18 additions and 25 deletions

View file

@ -5,7 +5,7 @@ enum color { RED, BLUE, GREEN };
class Foo {
public:
Foo() { }
enum speed { IMPULSE, WARP, LUDICROUS };
enum speed { IMPULSE=10, WARP=20, LUDICROUS=30 };
void enum_test(speed s);
};