Commit Graph

9 Commits

Author SHA1 Message Date
Ralf W. Grosse-Kunstleve
6b9f544df4 Renaming all "classh" to "smart_holder" in pybind11/detail/smart_holder_type_casters.h.
The user-facing macro is now PYBIND11_SMART_HOLDER_TYPE_CASTERS.
2021-01-29 14:11:56 -08:00
Ralf W. Grosse-Kunstleve
7f67db974a Renaming files in include directory, creating pybind11/smart_holder.h. 2021-01-29 14:11:56 -08:00
Ralf W. Grosse-Kunstleve
ab7d11f2d9 Adding py::smart_holder support to py::class_, purging py::classh completely. 2021-01-29 14:11:56 -08:00
Ralf W. Grosse-Kunstleve
494331a67b Adding smart_holder_type_caster_load::loaded_as_shared_ptr, currently bypassing smart_holder shared_ptr tracking completely, but the tests pass and are sanitizer clean. 2021-01-29 14:11:56 -08:00
Ralf W. Grosse-Kunstleve
3b6a20c398 Moving const after type name, for functions that cover a systematic scheme. NO functional changes. 2021-01-29 14:11:56 -08:00
Ralf W. Grosse-Kunstleve
25b254574f Pure renaming of function names in test_classh_inheritance, similar to the systematic approach used in test_class_wip. NO functional changes. 2021-01-29 14:11:56 -08:00
Ralf W. Grosse-Kunstleve
543a04ff18 Minimal test covering classh_type_casters load_impl Case 2b. 2021-01-29 14:11:56 -08:00
Ralf W. Grosse-Kunstleve
98162ff356 Changes and tests covering classh_type_casters try_implicit_casts. 2021-01-29 14:11:56 -08:00
Ralf W. Grosse-Kunstleve
c29134cdf9 Adding test_classh_inheritance, currently failing (passes with class_). 2021-01-29 14:11:55 -08:00