Repository navigation
Commit 012821a
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-51 parent 533af13 commit 012821a
6 files changed
Lines changed: 1552 additions & 1433 deletions
File tree
- include/pybind11
- src
- tests/extra_python_package
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| |||
0 commit comments