From: Ovidiu Mircescu Date: Mon, 4 Mar 2019 16:46:27 +0000 (+0100) Subject: Forgotten file. X-Git-Tag: V9_3_0rc1~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=003d7e9c9e89be84323f0660c89d36f84f95ac8e;p=tools%2Fydefx.git Forgotten file. --- 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