From 003d7e9c9e89be84323f0660c89d36f84f95ac8e Mon Sep 17 00:00:00 2001 From: Ovidiu Mircescu Date: Mon, 4 Mar 2019 17:46:27 +0100 Subject: [PATCH] Forgotten file. --- src/cpp/PyConversions.hxx | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/cpp/PyConversions.hxx diff --git a/src/cpp/PyConversions.hxx b/src/cpp/PyConversions.hxx new file mode 100644 index 0000000..115bea0 --- /dev/null +++ b/src/cpp/PyConversions.hxx @@ -0,0 +1,36 @@ +// Copyright (C) 2019 EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library 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 +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// +#ifndef YDEFX_PYCONVERSIONS_HXX +#define YDEFX_PYCONVERSIONS_HXX +#include + +namespace ydefx +{ +class JobParametersProxy; +class PyStudyFunction; +} +namespace py2cpp +{ +PyObject * toPy(const ydefx::JobParametersProxy& jp); +PyObject * toPy(const ydefx::PyStudyFunction& jp); +} + +#include + +#endif //YDEFX_PYCONVERSIONS_HXX -- 2.39.2