PYBIND11_NUMPY_DTYPE and X macros #5643
Unanswered
davidemollica
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am trying to create a custom dtype using X macros like this:
The preprocessor output, relative to the
PYBIND11_NUMPY_DTYPE
macro, isAs you can see, there is a spurious empty field
""
(the last one), while thestruct
is correct:Is this a bug or am I missing something?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions