Ralf W. Grosse-Kunstleve
1bd1d1ced8
Change PyCFunction cast in function_record_pyobject.h to sidestep unhelpful compiler warnings. (#5608)
* Change PyCFunction cast in function_record_pyobject.h to sidestep unhelpful compiler warnings.
* Resolve clang-tidy error
/__w/pybind11/pybind11/include/pybind11/detail/function_record_pyobject.h:41:39: error: do not cast 'PyObject *(PyObject *, PyObject *, PyObject *)' (aka '_object *(_object *, _object *, _object *)') to 'PyCFunction' (aka '_object *(*)(_object *, _object *)') through 'void *' [bugprone-casting-through-void,-warnings-as-errors]
41 | reinterpret_cast<PyCFunction>(reinterpret_cast<void *>(reduce_ex_impl)),
| ^
2025-04-10 12:09:59 -07:00
..
2024-12-20 01:39:32 -08:00
2025-04-10 12:09:59 -07:00
2025-02-17 23:13:05 -08:00
2025-01-24 17:01:06 -05:00
2025-03-31 15:54:38 -07:00
2024-04-02 11:14:08 -04:00
2025-03-24 20:31:59 -07:00
2022-02-11 19:06:16 -05:00
2017-09-06 15:22:26 +02:00
2022-02-10 12:17:07 -08:00
2022-10-18 16:54:16 -07:00
2025-03-21 08:03:34 -07:00
2024-10-07 14:12:04 -07:00
2025-03-31 15:54:38 -07:00
2024-10-08 10:51:20 -07:00
2024-07-30 09:18:35 -07:00
2022-05-27 14:32:57 -04:00
2025-03-24 20:31:59 -07:00
2025-04-03 22:08:56 -04:00
2022-10-09 21:50:35 -07:00
2022-12-08 23:10:10 -08:00
2025-04-08 23:44:18 -04:00
2025-04-08 23:43:49 -04:00
2025-03-05 12:40:53 -08:00
2024-08-14 22:30:29 -07:00
2025-03-05 12:40:53 -08:00
2023-05-07 10:15:53 -07:00
2025-03-18 07:56:34 -07:00
2024-08-28 20:55:50 -07:00