mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 08:32:02 +00:00
048e36df40
smart_holder branch:
```
static std::shared_ptr<type> shared_ptr_from_python(handle responsible_parent)
```
Renamed in this commit:
```
static std::shared_ptr<type> shared_ptr_with_responsible_parent(handle responsible_parent)
```
Use in `property_cpp_function<>` specializations.
Fixes all 8 test failures introduced with the previous commit (
|
||
---|---|---|
.. | ||
pybind11 |