Salome HOME
Add test for .mesh file format
[tools/medcoupling.git] / src / MEDLoader / MEDLoaderNS.hxx
index 4726172f869205d3d5f3bc7ffc5381299c75fa1f..0194c2fa2815764a4d3bf8b2cbd1fe4d5a31d896 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2016-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2016-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
@@ -34,10 +34,10 @@ namespace MEDCoupling
 namespace MEDLoaderNS
 {
   int readUMeshDimFromFile(const std::string& fileName, const std::string& meshName, std::vector<int>& possibilities);
-  void dispatchElems(int nbOfElemCell, int nbOfElemFace, int& nbOfElem, med_entity_type& whichEntity);
+  void dispatchElems(med_int nbOfElemCell, med_int nbOfElemFace, med_int& nbOfElem, med_entity_type& whichEntity);
   template<class T>
   void writeFieldWithoutReadingAndMappingOfMeshInFile(const std::string& fileName, const typename MEDCoupling::Traits<T>::FieldType *f, bool writeFromScratch);
-  med_int getIdFromMeshName(med_idt fid, const std::string& meshName, std::string& trueMeshName);
+  int getIdFromMeshName(med_idt fid, const std::string& meshName, std::string& trueMeshName);
   std::vector<std::string> getMeshNamesFid(med_idt fid);
 }