This commit is contained in:
Ralf W. Grosse-Kunstleve 2023-12-12 13:16:47 -08:00 committed by GitHub
parent 5f094e3c1d
commit a5b0cdcb93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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_``.