From: Anthony Geay Date: Fri, 20 Dec 2019 10:14:08 +0000 (+0100) Subject: sizeof(med_int) accessor to ease checkup X-Git-Tag: V9_5_0a1~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cad71e2554bac6356694f9e54bf1bd39621c6581;p=tools%2Fmedcoupling.git sizeof(med_int) accessor to ease checkup --- diff --git a/src/MEDLoader/Swig/MEDLoaderCommon.i b/src/MEDLoader/Swig/MEDLoaderCommon.i index 457fefbda..a0cbc6dab 100644 --- a/src/MEDLoader/Swig/MEDLoaderCommon.i +++ b/src/MEDLoader/Swig/MEDLoaderCommon.i @@ -405,6 +405,11 @@ namespace MEDCoupling return ret; } + int MEDFileSizeOfMedInt() + { + return 8*sizeof(med_int); + } + MEDCoupling::MEDCouplingField *ReadFieldSwig(const std::string& fileName) { MCAuto ret(MEDCoupling::ReadField(fileName));