pybind11/include/pybind11
Ralf W. Grosse-Kunstleve 6c922614ed
Adding reclaim_disowned logic & miscellaneous naming and documentation improvements. (#2943)
* Using new smart_holder::reclaim_disowned in smart_holder_type_caster for unique_ptr.

* Systematically renaming was_disowned to is_disowned (because disowning is now reversible: reclaim_disowned).

* Systematically renaming virtual_overrider_self_life_support to trampoline_self_life_support (to reuse existing terminology instead of introducing new one).

* Systematically renaming test_class_sh_with_alias to test_class_sh_trampoline_basic.

* Adding a Trampolines and std::unique_ptr section to README_smart_holder.rst.

* MSVC compatibility.
2021-04-09 23:08:44 -07:00
..
detail Adding reclaim_disowned logic & miscellaneous naming and documentation improvements. (#2943) 2021-04-09 23:08:44 -07:00
attr.h fix: a warning found by static code analyzer (#2783) 2021-01-13 23:14:06 -05:00
buffer_info.h Fix buffer_info for ctypes buffers (pybind#2502) (#2503) 2020-10-03 23:09:14 +02:00
cast.h Merge branch 'master' into smart_holder 2021-04-02 18:20:27 -07:00
chrono.h Use correct duration representation when casting from datetime.timdelta to std::chrono::duration (#2870) 2021-03-07 23:42:01 -08:00
common.h Add a dummy common.h header with a deprecation warning 2017-09-06 15:22:26 +02:00
complex.h Change NAMESPACE_* macros into PYBIND11_NAMESPACE_* (#2283) 2020-07-08 18:14:41 -04:00
eigen.h style: clang-tidy: modernize-use-using (#2645) 2020-11-09 10:10:19 -08:00
embed.h Shorten PYBIND11_EMBEDDED_MODULE macro implementation by using PYBIND11_CATCH_INIT_EXCEPTIONS (#2579) 2020-10-12 23:10:18 +02:00
eval.h Add __builtins__ to globals argument of py::exec and py::eval if not present (#2616) 2020-10-27 19:58:27 +01:00
functional.h fix: ensure the GIL is held when copying a function. (#2545) 2020-10-02 17:00:45 -04:00
gil.h Extract gil management functions to separate header (#2845) 2021-02-22 19:15:40 -08:00
iostream.h fix: avoid changing class outside of GIL 2021-01-26 20:59:27 -05:00
numpy.h Dtype kind vs char (#2864) 2021-02-23 10:57:28 +01:00
operators.h Change NAMESPACE_* macros into PYBIND11_NAMESPACE_* (#2283) 2020-07-08 18:14:41 -04:00
options.h Change NAMESPACE_* macros into PYBIND11_NAMESPACE_* (#2283) 2020-07-08 18:14:41 -04:00
pybind11.h Merge branch 'master' into smart_holder 2021-04-02 11:36:35 -07:00
pytypes.h Add pybind11::bytearray (#2799) 2021-02-14 15:51:13 +01:00
smart_holder.h Adding py::smart_holder (for smart-pointer interoperability). (#2672) 2021-02-23 21:50:42 -08:00
stl_bind.h Adding py::smart_holder (for smart-pointer interoperability). (#2672) 2021-02-23 21:50:42 -08:00
stl.h Changing pybind11::str to exclusively hold PyUnicodeObject (#2409) 2021-01-29 09:41:42 -08:00
trampoline_self_life_support.h Adding reclaim_disowned logic & miscellaneous naming and documentation improvements. (#2943) 2021-04-09 23:08:44 -07:00