Eliminate pybindit namespace (#5607)

* Factor out pybind11/detail/pybind11_namespace_macros.h from pybind11/detail/common.h

* Eliminate `pybindit` namespace, use pybind11/detail/pybind11_namespace_macros.h instead.

* Fix oversight: add pybind11_namespace_macros.h in tests/extra_python_package/test_files.py

* [skip ci] Add copyright notice.
This commit is contained in:
Ralf W. Grosse-Kunstleve
2025-04-08 20:46:24 -07:00
committed by GitHub
parent 6d1f28fe2b
commit a28ea8ccc5
8 changed files with 103 additions and 95 deletions

View File

@@ -69,6 +69,7 @@ detail_headers = {
"include/pybind11/detail/init.h",
"include/pybind11/detail/internals.h",
"include/pybind11/detail/native_enum_data.h",
"include/pybind11/detail/pybind11_namespace_macros.h",
"include/pybind11/detail/struct_smart_holder.h",
"include/pybind11/detail/type_caster_base.h",
"include/pybind11/detail/typeid.h",