pyassert.h 469 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 #define pyassert(_exp,_message) \ {if ( !(_exp) ) \ { \ PyErr_SetString( PyExc_ValueError, _message ); \ boost::python::throw_error_already_set(); \ }}