]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
sizeof(med_int) accessor to ease checkup
authorAnthony Geay <anthony.geay@edf.fr>
Fri, 20 Dec 2019 10:14:08 +0000 (11:14 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Fri, 20 Dec 2019 10:14:08 +0000 (11:14 +0100)
src/MEDLoader/Swig/MEDLoaderCommon.i

index 457fefbdafad975a59dd26f0adb80db10e210b61..a0cbc6dab9a58df4e73f5cbcdb810935fbffb148 100644 (file)
@@ -405,6 +405,11 @@ namespace MEDCoupling
     return ret;
   }
 
+  int MEDFileSizeOfMedInt()
+  {
+    return 8*sizeof(med_int);
+  }
+
   MEDCoupling::MEDCouplingField *ReadFieldSwig(const std::string& fileName)
   {
     MCAuto<MEDCoupling::MEDCouplingField> ret(MEDCoupling::ReadField(fileName));