PageRenderTime 10ms CodeModel.GetById 9ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1-3-29/SWIG/Lib/tcl/exception.i

#
Swig | 6 lines | 4 code | 2 blank | 0 comment | 0 complexity | d352f6469a64a4253e924e9339eab25a MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
1%include <typemaps/exception.swg>
2
3
4%insert("runtime") {
5  %define_as(SWIG_exception(code, msg), %block(%error(code, msg); return TCL_ERROR;))
6}