Commit 5afe9df3 by Ivan Smirnov

Minor fix in the docs

parent 872bd925
...@@ -1362,7 +1362,7 @@ NumPy structured types ...@@ -1362,7 +1362,7 @@ NumPy structured types
====================== ======================
In order for ``py::array_t`` to work with structured (record) types, we first need In order for ``py::array_t`` to work with structured (record) types, we first need
to register the memory layout of the type. This could be done via ``PYBIND11_DTYPE`` to register the memory layout of the type. This can be done via ``PYBIND11_DTYPE``
macro which expects the type followed by field names: macro which expects the type followed by field names:
.. code-block:: cpp .. code-block:: cpp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment