diff options
author | Marcelo Matus <mmatus@acms.arizona.edu> | 2005-10-26 14:12:11 +0000 |
---|---|---|
committer | Marcelo Matus <mmatus@acms.arizona.edu> | 2005-10-26 14:12:11 +0000 |
commit | 4756a8628ce816f30459e4b063944921ba328565 (patch) | |
tree | 2dac782108e3a0340ee1148229781f90023f1e68 /Examples/test-suite/director_nested.i | |
parent | 14e50ff653f97d777fccbe6b039588daa9127a1b (diff) | |
download | swig-4756a8628ce816f30459e4b063944921ba328565.tar.gz |
add another nested case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7740 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/test-suite/director_nested.i')
-rw-r--r-- | Examples/test-suite/director_nested.i | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Examples/test-suite/director_nested.i b/Examples/test-suite/director_nested.i index 6aea9da4d..3293ee6b3 100644 --- a/Examples/test-suite/director_nested.i +++ b/Examples/test-suite/director_nested.i @@ -60,6 +60,17 @@ { public: virtual C get_value() const = 0; + + virtual const char * get_name() + { + return "FooBar::get_name"; + } + + static FooBar *get_self(FooBar *a) + { + return a; + } + }; } |