Mercurial > pytave
diff python_to_octave.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 | 087e7bc3697f |
children | 16e79a1e96b8 |
line wrap: on
line diff
--- a/python_to_octave.cc Mon Apr 03 12:25:03 2017 -0700 +++ b/python_to_octave.cc Mon Apr 03 13:31:00 2017 -0700 @@ -330,15 +330,4 @@ else oct_value = pyobject_wrap_object (py_object.ptr ()); } - - void pytuple_to_octlist (octave_value_list& octave_list, - const boost::python::tuple& python_tuple) - { - int length = extract<int> (python_tuple.attr ("__len__") ()); - - for (int i = 0; i < length; i++) - { - pyobj_to_octvalue (octave_list(i), python_tuple[i]); - } - } }