git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-cherylfoil@10763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
23 lines
356 B
C++
23 lines
356 B
C++
|
|
|
|
/** This is a block describing enum
|
|
*/
|
|
|
|
enum color { RED, BLUE, GREEN };
|
|
|
|
/*! This is describing class foo
|
|
*/
|
|
|
|
class Foo {
|
|
public:
|
|
Foo() { }
|
|
enum speed { IMPULSE=10, WARP=20, LUDICROUS=30 };
|
|
void enum_test(speed s);
|
|
};
|
|
|
|
/*! This is describing enum test
|
|
//! \param c the color c
|
|
//! \param s the speed
|
|
*/
|
|
|
|
void enum_test(color c, Foo::speed s);
|