%newobject MEDCoupling::DataArrayPartDefinition::New;
%newobject MEDCoupling::SlicePartDefinition::New;
+%newobject FromPyIntPtrToDataArrayByte;
+
%feature("unref") DataArray "$this->decrRef();"
%feature("unref") DataArrayDouble "$this->decrRef();"
}
}
};
+
+}
+
+%inline
+{
+ MEDCoupling::DataArrayByte *FromPyIntPtrToDataArrayByte(long intPtr)
+ {
+ MEDCoupling::DataArrayByte *ret(reinterpret_cast<MEDCoupling::DataArrayByte *>(intPtr));
+ return ret;
+ }
}
%include "DataArrayInt.i"
+
%pythoncode %{
def MEDCouplingStdReduceFunct(cls,params):
a,b=params