Salome HOME
Fix: getCellsContainingPoints() in case of polyhedron with a face containing colinear...
[tools/medcoupling.git] / src / MEDCoupling_Swig / MEDCouplingRefCountObject.i
index 665c95f50a60c9ca66f3e2e67353e37a599f2849..a258f4e313290205456549a36be5dc6d9f1f7468 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2007-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
@@ -47,7 +47,11 @@ namespace INTERP_KERNEL
   catch (INTERP_KERNEL::Exception& _e) {
     // Reraise with SWIG_Python_Raise
     SWIG_Python_Raise(SWIG_NewPointerObj((new INTERP_KERNEL::Exception(static_cast< const INTERP_KERNEL::Exception& >(_e))),SWIGTYPE_p_INTERP_KERNEL__Exception,SWIG_POINTER_OWN), "INTERP_KERNEL::Exception", SWIGTYPE_p_INTERP_KERNEL__Exception);
+#ifdef MEDCOUPLING_SWIG4_COMPAT
+    return nullptr;
+#else
     SWIG_fail;
+#endif
   }
 }
 
@@ -86,7 +90,9 @@ namespace MEDCoupling
     std::size_t getHeapMemorySize() const;
     std::string getHeapMemorySizeStr() const;
     bool isObjectInTheProgeny(const BigMemoryObject *obj) const;
-    virtual std::size_t getHeapMemorySizeWithoutChildren() const;
+    std::size_t getHeapMemorySizeWithoutChildren() const;
+    std::string debugHeapMemorySize() const;
+    std::string getClassName() const;
     virtual ~BigMemoryObject();
     %extend
     {
@@ -187,6 +193,15 @@ namespace MEDCoupling
     return false;
 #endif
   }
+  
+  bool MEDCouplingUse64BitIDs()
+  {
+#ifndef MEDCOUPLING_USE_64BIT_IDS
+    return false;
+#else
+    return true;
+#endif
+  }
 
   std::string MEDCouplingCompletionScript()
   {