swig/Examples/test-suite/schemerunme/catches_strings.scm
William S Fulton ed333b6b97 std::string throws typemaps
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
2022-09-19 09:09:29 +01:00

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)