view octave_to_python.h @ 169:0f39067dd8d9

Don't include ovl.h to attempt at backwards compatibility (bug #2) * octave_to_python.h, python_to_octave.h: Don't include ovl.h.
author Mike Miller <mtmiller@octave.org>
date Thu, 07 Apr 2016 10:15:01 -0700
parents a3dc9d24ae38
children a7d597726985
line wrap: on
line source

/*

Copyright (C) 2015-2016 Mike Miller
Copyright (C) 2008 David Grundberg, HÃ¥kan Fors Nilsson

This file is part of Pytave.

Pytave is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option) any later version.

Pytave is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with Pytave; see the file COPYING.  If not, see
<http://www.gnu.org/licenses/>.

*/

#if ! defined (pytave_octave_to_python_h)
#define pytave_octave_to_python_h

#include <boost/python.hpp>
#include <ov.h>

namespace pytave
{
  void octvalue_to_pyobj (boost::python::object& py_object,
                          const octave_value& octvalue);
  void octlist_to_pytuple (boost::python::tuple& python_tuple,
                           const octave_value_list& octave_list);
}

#endif