mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 08:32:02 +00:00
WIP
This commit is contained in:
parent
70ba91f721
commit
af467ea1a6
@ -1089,6 +1089,8 @@ public:
|
|||||||
v_h_helper.loaded_v_h = v_h;
|
v_h_helper.loaded_v_h = v_h;
|
||||||
if (v_h_helper.have_holder()) {
|
if (v_h_helper.have_holder()) {
|
||||||
v_h_helper.throw_if_uninitialized_or_disowned_holder(typeid(cpptype));
|
v_h_helper.throw_if_uninitialized_or_disowned_holder(typeid(cpptype));
|
||||||
|
value = v_h_helper.holder().template as_raw_ptr_unowned<void>();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
auto *&vptr = v_h.value_ptr();
|
auto *&vptr = v_h.value_ptr();
|
||||||
|
Loading…
Reference in New Issue
Block a user