From: Marcelo M. <mar...@us...> - 2004-10-05 21:07:09
|
Update of /cvsroot/swig/SWIG/Examples/test-suite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12762/Examples/test-suite Modified Files: director_exception.i Log Message: fix empty throw() + directors Index: director_exception.i =================================================================== RCS file: /cvsroot/swig/SWIG/Examples/test-suite/director_exception.i,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** director_exception.i 25 Aug 2004 05:32:34 -0000 1.9 --- director_exception.i 5 Oct 2004 21:06:56 -0000 1.10 *************** *** 93,102 **** }; ! class Bar { public: - virtual ~Bar(){} virtual std::string ping() throw (Exception1, Exception2&) { return "Bar::ping()"; } virtual std::string pong() throw (Unknown1, int, Unknown2&) { return "Bar::pong();" + ping(); } }; --- 93,109 ---- }; ! class Base ! { ! public: ! virtual ~Base() throw () {} ! }; ! ! ! class Bar : public Base { public: virtual std::string ping() throw (Exception1, Exception2&) { return "Bar::ping()"; } virtual std::string pong() throw (Unknown1, int, Unknown2&) { return "Bar::pong();" + ping(); } + virtual std::string pang() throw () { return "Bar::pang()"; } }; |