Salome HOME
[TetraIntersect] Formatting and including what's inline really inline!
[tools/medcoupling.git] / src / MEDPartitioner_Swig / MEDPartitioner.i
index 4bd1dbc4fcebc4f805783e1fd0c35a7f3e66cd17..17121da1ec1825261f75aa25d398282d33854217 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
+%module MEDPartitioner
+
+%{
+#include "MEDFileData.hxx"
+
+using namespace MEDCoupling;
+using namespace INTERP_KERNEL;
+%}
+
+%include std_string.i
+
+%feature("autodoc", "1");
+%feature("docstring");
+
+%feature("unref") MEDCoupling::MEDFileData "$this->decrRef();"
+
+%nodefaultctor;
+
+%rename (InterpKernelException) INTERP_KERNEL::Exception;
+
 %include "MEDPartitionerCommon.i"