11#include "MantidTypes/Core/DateAndTime.h"
13#include <boost/python/detail/prefix.hpp>
14#define PY_ARRAY_UNIQUE_SYMBOL CORE_ARRAY_API
15#define NO_IMPORT_ARRAY
16#include <numpy/arrayobject.h>
20#define DEFINE_TYPE_MAPPING(CType, NDTypeNum, NDTypeCode) \
21 template <> int NDArrayTypeIndex<CType>::typenum = NDTypeNum; \
22 template <> char NDArrayTypeIndex<CType>::typecode = NDTypeCode; \
23 template struct NDArrayTypeIndex<CType>;
#define DEFINE_TYPE_MAPPING(CType, NDTypeNum, NDTypeCode)
Macro to define mappings between the CType and Numpy enum.