Mercurial > fife-parpg
comparison engine/swigwrappers/python/fife.i.templ @ 167:10a5f9e6c03f
* Fixed a few thousand warnings made by swigwrapper in MSVC.
author | cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 14 Jan 2009 12:52:04 +0000 |
parents | 98541d3b9220 |
children | a7909cdcdc85 |
comparison
equal
deleted
inserted
replaced
166:81a222e7bd25 | 167:10a5f9e6c03f |
---|---|
83 PyErr_Clear(); \ | 83 PyErr_Clear(); \ |
84 SWIG_exception(_converted_type, _e.getMessage().c_str()); \ | 84 SWIG_exception(_converted_type, _e.getMessage().c_str()); \ |
85 } | 85 } |
86 | 86 |
87 #define _FIFE_DIRECTOR_EXC_HANDLER() \ | 87 #define _FIFE_DIRECTOR_EXC_HANDLER() \ |
88 catch (Swig::DirectorException &_e) { \ | 88 catch (Swig::DirectorException &) { \ |
89 PyErr_Clear(); \ | 89 PyErr_Clear(); \ |
90 SWIG_exception(SWIG_RuntimeError, "Catched director exception"); \ | 90 SWIG_exception(SWIG_RuntimeError, "Catched director exception"); \ |
91 } | 91 } |
92 %} | 92 %} |
93 | 93 |