Hi Giuseppe,
thank you for the detailed response!
On 11/07/2012 08:56 AM, Giuseppe Corbelli wrote:
On 06/11/2012 15:35, Martin Hellmich wrote:
I've based my code on.
http://stackoverflow.c om/questions/9620268/boost-python-custom-exception-class
I have used the same reference and also this
On 07/11/2012 09:24, Martin Hellmich wrote:
*) As you were writing before, declare a C++ class MyException: public
std::exception {
MyException();
MyException(int code, const std::string &string);
int code();
const char* what();
int errorCode;
std::string errorMessage;
};
*) Wrap it as a bpy::c
Dear Jiang,
thanks I got it to work by using my own version of
`builtin_converters.hpp` locally together with the code that you
recommended.
-Holger
On Tue, Nov 6, 2012 at 3:25 AM, jiangzuo...@gmail.com
wrote:
> how about return a wrap type of long double to cheating boost/python, and
> registe