Go, Guile, Racket, Scilab: Add throws typemaps for std::string so that thrown string exception messages can be seen. Test all language for std::string throws typemaps
9 lines
228 B
Scheme
9 lines
228 B
Scheme
(expect-throw 'swig-exception
|
|
(StringsThrower-charstring))
|
|
; TODO: check the exception message
|
|
|
|
(expect-throw 'swig-exception
|
|
(StringsThrower-stdstring))
|
|
; TODO: check the exception message
|
|
|
|
(exit 0)
|