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

@@ -13,8 +13,8 @@
#define CATCH_CONFIG_MAIN
#include "catch.hpp"
using pybindit::memory::smart_holder;
namespace poc = pybindit::memory::smart_holder_poc;
using pybind11::memory::smart_holder;
namespace poc = pybind11::memory::smart_holder_poc;
namespace helpers {