mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 00:22:00 +00:00
Add NOTE (#4968)
This commit is contained in:
parent
5f094e3c1d
commit
a5b0cdcb93
@ -107,6 +107,7 @@ There are three small differences compared to Classic pybind11:
|
|||||||
``#include <pybind11/pybind11.h>``.
|
``#include <pybind11/pybind11.h>``.
|
||||||
|
|
||||||
- The ``PYBIND11_SMART_HOLDER_TYPE_CASTERS(Foo)`` macro is needed.
|
- The ``PYBIND11_SMART_HOLDER_TYPE_CASTERS(Foo)`` macro is needed.
|
||||||
|
— NOTE: This macro needs to be in the global namespace.
|
||||||
|
|
||||||
- ``py::classh`` is used instead of ``py::class_``.
|
- ``py::classh`` is used instead of ``py::class_``.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user