Rewritten doxygen_parsing.cpptest according to the project plan
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13275 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
3a3c2b8063
commit
dc43241130
8 changed files with 207 additions and 107 deletions
|
|
@ -3,13 +3,33 @@
|
|||
%inline %{
|
||||
|
||||
|
||||
/** Test enumeration */
|
||||
enum E_TEST
|
||||
{
|
||||
/** the first item */
|
||||
E_TEST_ONE,
|
||||
E_TEST_TWO = 2, /**< the second */
|
||||
E_TEST_THREE = 2+1 /**< the last item */
|
||||
};
|
||||
/**
|
||||
* Testing comments before enum items
|
||||
*/
|
||||
enum SomeAnotherEnum
|
||||
{
|
||||
/**
|
||||
* The comment for the first item
|
||||
*/
|
||||
SOME_ITEM_1,
|
||||
/**
|
||||
* The comment for the second item
|
||||
*/
|
||||
SOME_ITEM_2,
|
||||
/**
|
||||
* The comment for the third item
|
||||
*/
|
||||
SOME_ITEM_3
|
||||
};
|
||||
|
||||
/**
|
||||
* Testing comments after enum items
|
||||
*/
|
||||
enum SomeAnotherEnum2
|
||||
{
|
||||
SOME_ITEM_10, ///< Post comment for the first item
|
||||
SOME_ITEM_20, ///< Post comment for the second item
|
||||
SOME_ITEM_30 ///< Post comment for the third item
|
||||
};
|
||||
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue