-// Copyright (C) 2007-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2020 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
static PyObject *callbackmcdataarrayint64_call(PyCallBackDataArrayInt64 *self, PyObject *args, PyObject *kw)
{
if(self->_pt_mc)
- {
- MEDCoupling::MemArray<long>& mma=self->_pt_mc->accessToMemArray();
+ {
+ MEDCoupling::MemArray<MEDCoupling::Int64>& mma=self->_pt_mc->accessToMemArray();
mma.destroy();
}
Py_XINCREF(Py_None);
};
template<>
-struct NPYTraits<long>
+struct NPYTraits<MEDCoupling::Int64>
{
static const int NPYObjectType=NPY_INT64;
static PyTypeObject *NPYFunc;