]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Put DataArray destructor protected.
authorageay <ageay>
Thu, 4 Apr 2013 12:25:35 +0000 (12:25 +0000)
committerageay <ageay>
Thu, 4 Apr 2013 12:25:35 +0000 (12:25 +0000)
src/MEDCoupling_Swig/MEDCouplingCommon.i

index 276d13b8359c8eebcea5d14a197c46a8a14db9a8..5bac101bdbc31e791604542c92a3e2d1aacac1d2 100644 (file)
@@ -374,6 +374,7 @@ using namespace INTERP_KERNEL;
 %newobject ParaMEDMEM::MEDCouplingMultiFields::deepCpy;
 %newobject ParaMEDMEM::MEDCouplingFieldOverTime::New;
 
+%feature("unref") DataArray "$this->decrRef();"
 %feature("unref") DataArrayDouble "$this->decrRef();"
 %feature("unref") MEDCouplingPointSet "$this->decrRef();"
 %feature("unref") MEDCouplingMesh "$this->decrRef();"