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:
parent
4f2a579d6d
commit
311ddbc2bf
78 changed files with 3668 additions and 0 deletions
23
Examples/doxygencomments/java/enum/example.h
Normal file
23
Examples/doxygencomments/java/enum/example.h
Normal 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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue