Mercurial > pytave
diff exceptions.cc @ 392:09a1acb81d8b
Delete legacy code no longer used in project
* configure.ac: Drop checks for headers and functions no longer needed.
* exceptions.cc, exceptions.h: Delete pytave::init_exceptions and related
methods and properties for registering exceptions with Boost.Python runtime.
* octave_to_python.cc, octave_to_python.h (pytave::octlist_to_pytuple): Delete.
* python_to_octave.cc, python_to_octave.h (pytave::pytuple_to_octlist): Delete.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Mon, 03 Apr 2017 13:31:00 -0700 |
parents | d36f06f07082 |
children | aef165ff92b0 |
line wrap: on
line diff
--- a/exceptions.cc Mon Apr 03 12:25:03 2017 -0700 +++ b/exceptions.cc Mon Apr 03 13:31:00 2017 -0700 @@ -31,22 +31,6 @@ namespace pytave { - - PyObject *octave_error_exception::excclass = 0; - PyObject *value_convert_exception::excclass = 0; - PyObject *object_convert_exception::excclass = 0; - PyObject *octave_parse_exception::excclass = 0; - PyObject *variable_name_exception::excclass = 0; - - bool init_exceptions (void) - { - return (octave_error_exception::init () - && value_convert_exception::init () - && object_convert_exception::init () - && octave_parse_exception::init () - && variable_name_exception::init ()); - } - std::string fetch_exception_message (void) { PyObject *ptype, *pvalue, *ptraceback;