Added a new Examples folder with modified Examples/java files

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-cherylfoil@10763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Cheryl Foil 2008-08-15 23:54:53 +00:00
commit 311ddbc2bf
78 changed files with 3668 additions and 0 deletions

View file

@ -0,0 +1,23 @@
/** 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);