Fritz Reese
e8ad33bb30
Fix buffer_info for ctypes buffers (pybind#2502) ( #2503 )
...
* tests: New test for ctypes buffers (pybind#2502)
* fix: fix buffer_info segfault on views with no stride (pybind11#2502)
* Explicit conversions in buffer_info to make clang happy (pybind#2502)
* Another explicit cast in buffer_info constructor for clang (pybind#2502)
* Simpler implementation of buffer_info constructor from Py_buffer.
* Move test_ctypes_buffer into test_buffers
* Comment on why view->strides may be NULL (and fix some whitespace)
* Use c_strides() instead of zero when view->strides is NULL.
c_strides and f_strides are moved from numpy.h (py::array)
to buffer_info.h (py::detail) so they can be used from the
buffer_info Py_buffer constructor.
* Increase ctypes buffer test coverage in test_buffers.
* Split ctypes tests and skip one which is broken in PyPy2.
2020-10-03 23:09:14 +02:00
..
2020-09-17 15:40:09 -04:00
2020-10-02 10:03:35 -04:00
2020-10-03 13:38:03 -04:00
2020-10-03 13:38:03 -04:00
2020-10-02 22:34:22 -04:00
2020-08-19 13:11:57 -04:00
2020-10-03 13:38:03 -04:00
2019-07-15 16:47:02 +02:00
2020-08-20 11:58:34 -04:00
2020-09-15 09:56:59 -04:00
2017-01-31 17:05:44 +01:00
2017-09-12 08:06:46 +02:00
2020-10-03 13:38:03 -04:00
2020-10-03 13:38:03 -04:00
2020-09-16 17:13:41 -04:00
2020-08-12 14:09:42 -04:00
2020-10-03 13:38:03 -04:00
2020-08-16 16:02:12 -04:00
2020-10-03 23:09:14 +02:00
2020-10-03 23:09:14 +02:00
2020-07-28 21:44:19 +02:00
2020-08-16 16:02:12 -04:00
2020-07-26 09:25:27 -04:00
2020-08-16 16:02:12 -04:00
2019-06-11 23:28:58 +02:00
2020-07-20 13:35:21 -04:00
2020-09-13 10:24:00 -04:00
2020-09-13 10:24:00 -04:00
2020-10-03 13:38:03 -04:00
2020-10-02 19:06:04 +02:00
2020-09-15 09:56:59 -04:00
2020-09-10 11:49:26 -04:00
2020-09-15 09:56:59 -04:00
2020-07-20 13:35:21 -04:00
2020-09-15 09:56:59 -04:00
2020-07-20 13:35:21 -04:00
2017-08-05 18:46:22 -04:00
2020-07-20 13:35:21 -04:00
2020-10-03 13:38:03 -04:00
2020-08-16 16:02:12 -04:00
2019-09-19 18:23:27 +02:00
2020-09-20 01:12:19 +02:00
2020-07-20 13:35:21 -04:00
2020-10-03 13:38:03 -04:00
2020-08-16 16:02:12 -04:00
2020-10-03 13:38:03 -04:00
2020-08-18 07:14:34 -04:00
2020-10-03 13:38:03 -04:00
2020-09-11 22:06:52 -04:00
2020-10-03 13:38:03 -04:00
2020-09-16 23:21:47 -04:00
2020-10-03 13:38:03 -04:00
2020-07-20 13:35:21 -04:00
2020-10-03 13:38:03 -04:00
2020-09-04 20:02:05 -04:00
2020-10-03 13:38:03 -04:00
2020-10-01 22:57:25 -04:00
2020-10-03 13:38:03 -04:00
2020-08-16 16:02:12 -04:00
2020-10-03 13:38:03 -04:00
2020-07-20 13:35:21 -04:00
2020-07-07 15:58:16 +02:00
2020-08-16 16:02:12 -04:00
2020-10-03 13:38:03 -04:00
2020-10-02 19:07:04 +02:00
2020-10-03 13:38:03 -04:00
2020-09-17 07:19:33 -04:00
2020-10-03 13:38:03 -04:00
2020-10-02 15:30:34 -04:00
2020-10-02 09:39:22 -04:00
2020-10-02 09:39:22 -04:00
2020-09-19 20:23:47 +02:00
2020-07-27 01:44:25 +02:00
2017-09-06 15:20:52 +02:00
2020-08-16 16:02:12 -04:00
2020-10-03 13:38:03 -04:00
2020-09-11 19:53:04 +02:00
2020-09-15 09:56:59 -04:00
2020-07-20 13:35:21 -04:00
2020-09-15 09:56:59 -04:00
2020-09-11 22:06:52 -04:00
2020-10-03 13:38:03 -04:00
2020-08-16 16:02:12 -04:00
2020-09-15 09:56:59 -04:00
2020-07-20 13:35:21 -04:00
2020-09-15 09:56:59 -04:00
2020-07-20 13:35:21 -04:00
2019-06-11 23:28:58 +02:00
2020-07-20 13:35:21 -04:00
2020-10-03 13:38:03 -04:00
2020-09-11 22:06:52 -04:00