Skip to content

Commit 012821a

Browse files
committed
feat: move pybind11.h non-template definitions to pybind11-inl.h
The headline of the split: cpp_function's make_function_record, initialize_generic, destruct, and the 440-line dispatcher move out of line, along with generic_type::initialize, enum_base, the function signature generators, module cache helpers, keep_alive_impl, get_type_override, error_already_set::what, and detail::print. The templated initialize(), descr.h machinery, and the module/class_ API stay in the header. Assisted-by: ClaudeCode:claude-fable-5
1 parent 533af13 commit 012821a

6 files changed

Lines changed: 1552 additions & 1433 deletions

File tree

‎CMakeLists.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ set(PYBIND11_HEADERS
238238
include/pybind11/native_enum.h
239239
include/pybind11/numpy.h
240240
include/pybind11/operators.h
241+
include/pybind11/pybind11-inl.h
241242
include/pybind11/pybind11.h
242243
include/pybind11/pytypes-inl.h
243244
include/pybind11/pytypes.h

0 commit comments

Comments
 (0)