¡@

Home 

python Programming Glossary: pmyexception

How do I propagate C++ exceptions to Python in a SWIG wrapper library?

http://stackoverflow.com/questions/1394484/how-do-i-propagate-c-exceptions-to-python-in-a-swig-wrapper-library

pointer to the python aware exception which we will call pMyException. Step 2 below will define this #define SWIG_FILE_WITH_INIT for.. char or #include mylibrary.h etc static PyObject pMyException add this Step 2 Add an initialization directive the m is particularly.. needs at that point in its constructed wrapper file pMyException was declared in step 1 above init pMyException PyErr_NewException..