Ralf W. Grosse-Kunstleve
ab955f158c
Fix refcount bug involving trampoline functions with PyObject * return type. ( #5156 )
...
* Transfer diff from pybind11k fork as-is. New tests are still missing.
* Add `PYBIND11_WARNING_DISABLE_MSVC(4127)` into `PYBIND11_OVERRIDE_IMPL` macro.
* Add test_trampoline_with_pyobject_ptr_return()
* Resolve clang-tidy error: use auto when initializing with a template cast to avoid duplicating the type name [modernize-use-auto,-warnings-as-errors]
* Disabled checking refcount when building with PyPy.
* Clang 3.6, 3.7, 3.9 compatibility.
```
/__w/pybind11/pybind11/tests/test_type_caster_pyobject_ptr.cpp:23:13: error: definition of implicit copy constructor for 'WithPyObjectPtrReturn' is deprecated because it has a user-declared destructor [-Werror,-Wdeprecated]
virtual ~WithPyObjectPtrReturn() = default;
^
```
* Minor clean-up of production code changes.
* Add missing `override` (to resolve clang-tidy error).
* Move PYBIND11_WARNING_POP for a better clang-format outcome.
2024-06-11 14:00:52 -07:00
..
2024-06-06 17:17:54 -04:00
2022-02-11 19:06:16 -05:00
2024-03-27 20:11:13 -04:00
2024-05-28 09:07:59 -04:00
2024-05-29 20:33:25 -04:00
2024-03-26 18:20:11 -04:00
2022-08-29 23:25:01 -04:00
2022-10-30 08:57:23 -07:00
2023-08-07 20:48:20 -07:00
2022-12-20 05:34:00 -08:00
2023-02-22 06:18:55 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 12:17:07 -08:00
2023-08-07 20:48:20 -07:00
2024-05-28 09:07:59 -04:00
2022-02-14 11:36:22 -08:00
2024-05-24 12:26:40 -04:00
2023-12-14 18:42:55 -08:00
2022-02-10 12:17:07 -08:00
2023-02-22 06:18:55 -08:00
2023-05-23 10:49:32 -07:00
2023-09-12 12:47:39 -07:00
2024-04-02 11:14:08 -04:00
2023-09-12 12:46:58 -07:00
2024-04-02 11:14:08 -04:00
2022-02-10 18:28:08 -08:00
2022-11-02 11:32:53 -07:00
2023-08-30 22:43:01 -07:00
2022-02-10 12:17:07 -08:00
2023-02-01 14:23:37 -05:00
2024-05-10 17:03:51 -04:00
2024-05-28 09:07:59 -04:00
2022-02-14 11:36:22 -08:00
2023-02-22 06:18:55 -08:00
2024-03-26 13:57:05 -04:00
2023-03-27 20:21:06 -04:00
2024-04-02 11:14:08 -04:00
2022-05-16 13:51:01 -07:00
2024-04-02 11:14:08 -04:00
2023-02-22 06:18:55 -08:00
2021-09-24 12:08:22 -07:00
2023-02-22 06:18:55 -08:00
2024-04-02 11:14:08 -04:00
2022-12-08 23:10:10 -08:00
2024-04-02 11:14:08 -04:00
2024-03-26 18:20:11 -04:00
2022-12-20 05:34:00 -08:00
2024-04-02 11:14:08 -04:00
2023-02-22 06:18:55 -08:00
2022-02-10 12:17:07 -08:00
2023-11-07 23:42:54 -08:00
2022-02-10 18:28:08 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2024-03-27 12:39:05 -07:00
2023-08-07 20:48:20 -07:00
2024-03-27 12:39:05 -07:00
2022-02-14 11:36:22 -08:00
2023-09-12 12:47:39 -07:00
2022-10-30 08:57:23 -07:00
2023-02-22 06:18:55 -08:00
2022-02-14 11:36:22 -08:00
2024-04-02 11:14:08 -04:00
2024-05-28 09:07:59 -04:00
2024-05-30 01:40:55 -04:00
2022-02-10 12:17:07 -08:00
2023-02-01 14:23:37 -05:00
2024-04-02 11:14:08 -04:00
2023-11-07 23:42:54 -08:00
2022-05-28 16:40:57 -07:00
2023-03-09 13:02:34 -08:00
2022-02-10 12:17:07 -08:00
2022-02-10 18:28:08 -08:00
2024-04-02 11:14:08 -04:00
2024-03-26 18:20:11 -04:00
2024-05-10 17:03:51 -04:00
2024-04-02 11:14:08 -04:00
2022-05-26 11:07:40 -04:00
2023-02-22 06:18:55 -08:00
2022-02-10 12:17:07 -08:00
2022-02-11 19:06:16 -05:00
2022-11-28 07:39:38 -08:00
2023-02-01 14:23:37 -05:00
2022-05-02 12:39:36 -07:00
2022-05-02 12:39:36 -07:00
2023-11-08 12:44:04 -08:00
2023-11-08 12:44:04 -08:00
2024-06-07 13:54:33 -07:00
2024-06-07 13:54:33 -07:00
2023-09-07 05:57:39 -07:00
2023-10-17 12:04:46 -07:00
2023-12-29 21:59:47 -08:00
2022-02-11 19:06:16 -05:00
2024-04-02 11:14:08 -04:00
2024-01-13 11:07:36 -08:00
2024-05-10 17:03:51 -04:00
2023-09-12 12:46:58 -07:00
2022-08-01 11:31:31 -07:00
2022-02-10 18:28:08 -08:00
2024-05-10 17:03:51 -04:00
2022-02-10 18:28:08 -08:00
2024-06-11 14:00:52 -07:00
2024-06-11 14:00:52 -07:00
2019-06-11 23:28:58 +02:00
2022-02-10 18:28:08 -08:00
2023-04-25 14:03:24 -07:00
2023-04-25 14:03:24 -07:00
2023-04-25 14:03:24 -07:00
2023-04-25 14:03:24 -07:00
2023-04-27 07:24:48 -07:00
2023-04-24 00:19:21 -07:00
2022-12-06 10:10:48 -08:00
2023-02-22 06:18:55 -08:00
2021-07-04 19:58:35 -04:00
2021-01-31 17:29:09 -05:00