mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
1
This commit is contained in:
6
devtools/swigwin-1.3.34/Lib/python/exception.i
Normal file
6
devtools/swigwin-1.3.34/Lib/python/exception.i
Normal file
@@ -0,0 +1,6 @@
|
||||
%include <typemaps/exception.swg>
|
||||
|
||||
|
||||
%insert("runtime") {
|
||||
%define_as(SWIG_exception(code, msg), %block(%error(code, msg); SWIG_fail; ))
|
||||
}
|
||||
Reference in New Issue
Block a user