#include "pybind11/pybind11.h"
#include "pybind11/numpy.h"
| #define DECLARE_NONPOD_DTYPE_SUPPORT |
( |
|
TYPE_NAME | ) |
|
Value:namespace pybind11 { namespace detail { \
template <>
struct npy_format_descriptor<
TYPE_NAME, void> : \
unsafe_nonpod_npy_format_descriptor<TYPE_NAME> { \
}; \
} \
\
template <>
struct format_descriptor<
TYPE_NAME, void> { \
return detail::npy_format_descriptor<typename std::remove_cv<TYPE_NAME>::type>::format(); \
} \
}; \
}
std::string string
Definition: LazySilentFilePoseInputStream.cc:55
static std::string TYPE_NAME()
Definition: JumpSampleData.cc:34