]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Revert "bos #26616 [CEA][Windows] type long MEDCOUPLING failing test"
authorvsr <vsr@opencascade.com>
Wed, 10 Nov 2021 17:20:59 +0000 (20:20 +0300)
committervsr <vsr@opencascade.com>
Wed, 10 Nov 2021 17:20:59 +0000 (20:20 +0300)
This reverts commit 6712a95b385dfb8db6ab119dd2cc0da77f063142.

src/MEDCoupling_Swig/MEDCouplingCommon.i
src/MEDCoupling_Swig/MEDCouplingMemArray.i

index ca7e739462a6ff5de0d77d41ddd2d3af8b1be409..1639e0751e394a059ab6de26b5abeb3a058562e9 100644 (file)
@@ -85,11 +85,7 @@ typedef long int mcIdType;
 #endif
 %template(i32vec) std::vector<int>;
 #endif
-#ifdef WIN32
-typedef long long mcPyPtrType;
-#else
-typedef long mcPyPtrType;
-#endif
+
 
 ////////////////////
 %typemap(out) MEDCoupling::MEDCouplingMesh*
index d9433441aa3381a98e48f861091e465e600e427f..6afd214c3aac200df47cd39865dfdc0cb69104c5 100644 (file)
@@ -3706,7 +3706,7 @@ typedef DataArrayInt64 DataArrayIdType;
 
 %inline
 {
-  MEDCoupling::DataArrayByte *FromPyIntPtrToDataArrayByte(mcPyPtrType intPtr)
+  MEDCoupling::DataArrayByte *FromPyIntPtrToDataArrayByte(long intPtr)
   {
     MEDCoupling::DataArrayByte *ret(reinterpret_cast<MEDCoupling::DataArrayByte *>(intPtr));
     return ret;