Mercurial > pytave
diff pycall.cc @ 415:9bf8ba050122
Replace all remaining Boost.Python references
* exceptions.h (pytave::error_alreadY_set): New exception placeholder class.
* __py_struct_from_dict__.cc, oct-py-eval.cc, oct-py-types.cc, oct-py-util.cc,
pycall.cc, pyeval.cc, pyexec.cc: Use it in place of boost::python. Remove all
#includes of Boost headers.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Wed, 03 May 2017 21:48:07 -0700 |
parents | 3613ffbd52b2 |
children | 24555fba9964 |
line wrap: on
line diff
--- a/pycall.cc Wed May 03 20:32:10 2017 -0700 +++ b/pycall.cc Wed May 03 21:48:07 2017 -0700 @@ -24,8 +24,6 @@ # include <config.h> #endif -#include <boost/python.hpp> - #include <octave/oct.h> #include <octave/parse.h> @@ -123,7 +121,7 @@ { error ("pycall: error in argument type conversion"); } - catch (boost::python::error_already_set const &) + catch (pytave::error_already_set const &) { std::string message = pytave::fetch_exception_message (); error ("pycall: %s", message.c_str ());