diff --git a/Mesh/meshPartition.h b/Mesh/meshPartition.h
index 1e402ff0cac7c4b6ffd76d80bcef8c5dbc37c890..72721706e48264e9c37900f5928f7a142775c787 100644
--- a/Mesh/meshPartition.h
+++ b/Mesh/meshPartition.h
@@ -29,7 +29,6 @@ int RenumberMesh(GModel *const model, meshPartitionOptions &options);
 int PartitionMeshFace(std::list<GFace*> &cFaces, meshPartitionOptions &options);
 int PartitionMeshElements(std::vector<MElement*> &elements, 
                           meshPartitionOptions &options);
-bool PartitionZeroGenus(std::list<GFace*> &cFaces, int &nbParts);
 int CreatePartitionBoundaries(GModel *model, bool createGhostCells);
 
 void splitBoundaryEdges(GModel *model,
diff --git a/gmshpy/gmshMesh.i b/gmshpy/gmshMesh.i
index a18ea5cef5b25d9037aee740a5f2ce16bec692d1..569db4464f0e629651ec1fccd8b0b78965299665 100644
--- a/gmshpy/gmshMesh.i
+++ b/gmshpy/gmshMesh.i
@@ -11,6 +11,7 @@
   #include "meshGFaceOptimize.h"
   #include "meshPartitionOptions.h"
   #include "Levy3D.h"
+  #include "meshPartition.h"
 %}
 
 %include "GmshConfig.h"
@@ -20,3 +21,4 @@
 %include "meshGFaceOptimize.h"
 %include "meshPartitionOptions.h"
 %include "Levy3D.h"
+%include "meshPartition.h"