static PyObject *callbackmcdataarrayint64_call(PyCallBackDataArrayInt64 *self, PyObject *args, PyObject *kw)
{
if(self->_pt_mc)
- {
-#ifdef WIN32
- MEDCoupling::MemArray<long long>& mma=self->_pt_mc->accessToMemArray();
-#else
- MEDCoupling::MemArray<long>& mma=self->_pt_mc->accessToMemArray();
-#endif
+ {
+ MEDCoupling::MemArray<MEDCoupling::Int64>& mma=self->_pt_mc->accessToMemArray();
mma.destroy();
}
Py_XINCREF(Py_None);
};
template<>
-#ifdef WIN32
-struct NPYTraits<long long>
-#else
-struct NPYTraits<long>
-#endif
+struct NPYTraits<MEDCoupling::Int64>
{
static const int NPYObjectType=NPY_INT64;
static PyTypeObject *NPYFunc;
PyTypeObject *NPYTraits<int>::NPYFunc=&PyCallBackDataArrayInt32_RefType;
-#ifdef WIN32
-PyTypeObject *NPYTraits<long long>::NPYFunc=&PyCallBackDataArrayInt64_RefType;
-#else
-PyTypeObject *NPYTraits<long>::NPYFunc=&PyCallBackDataArrayInt64_RefType;
-#endif
+PyTypeObject *NPYTraits<MEDCoupling::Int64>::NPYFunc=&PyCallBackDataArrayInt64_RefType;
#endif
template<class T>