diff options
Diffstat (limited to 'Examples/test-suite/doxygen_nested_class.i')
-rw-r--r-- | Examples/test-suite/doxygen_nested_class.i | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Examples/test-suite/doxygen_nested_class.i b/Examples/test-suite/doxygen_nested_class.i new file mode 100644 index 000000000..55575e34f --- /dev/null +++ b/Examples/test-suite/doxygen_nested_class.i @@ -0,0 +1,24 @@ +%module doxygen_nested_class + +%warnfilter(SWIGWARN_PARSE_NAMED_NESTED_CLASS) DoxOuter::DoxInner; + +%inline %{ + +struct DoxOuter { + /** DoxOuter constructor */ + DoxOuter() {} + /** DoxInner class description */ + struct DoxInner { + /** DoxInner constructor */ + DoxInner() {} + /** doxInt variable */ + int doxInt; + /** doxShort const variable */ + static const short doxShort = 1; + /** doxMethod description */ + void doxMethod() {} + /** doxStaticMethod description */ + static void doxStaticMethod() {} + }; +}; +%} |