From cad71e2554bac6356694f9e54bf1bd39621c6581 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Fri, 20 Dec 2019 11:14:08 +0100 Subject: [PATCH] sizeof(med_int) accessor to ease checkup --- src/MEDLoader/Swig/MEDLoaderCommon.i | 5 +++++ 1 file changed, 5 insertions(+) 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)); -- 2.39.2