Mercurial > pytave
view octave_to_python.h @ 141:4e5a620758fc
Use consistent Octave style for header files
* arrayobjectdefs.h, exceptions.h, octave_to_python.h, python_to_octave.h:
Use Octave style for include guards and block comments. Include external
header files for types used in declarations.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Mon, 04 Apr 2016 17:48:33 -0700 |
parents | b12908ffa6df |
children | 8e3d06f2f5cf |
line wrap: on
line source
/* 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> #include <ovl.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