Skip to content

Commit

Permalink
Add NOTE (#4968)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralf W. Grosse-Kunstleve committed Dec 12, 2023
1 parent 5f094e3 commit a5b0cdc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README_smart_holder.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ There are three small differences compared to Classic pybind11:
``#include <pybind11/pybind11.h>``.

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

Expand Down

0 comments on commit a5b0cdc

Please sign in to comment.