From: Nitro <ni...@dr...> - 2008-05-20 07:55:33
|
Am 20.05.2008, 09:49 Uhr, schrieb Nitro <ni...@dr...>: > >> And here is the start of the interface file: >> ----------- >> %module yrbperl >> >> %{ >> #include "Exception.h" >> #include <string> >> %} > > Insert something like %include "std/std_except.i" here. And of course this line: using namespace std; or using std::exception; >> %include "exception.i" >> >> >> class RBException : public exception >> { >> ------------- > > -Matthias > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Swig-user mailing list > Swi...@li... > https://lists.sourceforge.net/lists/listinfo/swig-user |