summaryrefslogtreecommitdiff
path: root/doc/release
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2018-11-21 18:57:17 -0800
committerEric Wieser <wieser.eric@gmail.com>2019-01-13 11:16:54 -0800
commit08a92de354f1f7592c7957f4aafe892f3d5a828a (patch)
tree3d6fad67d0973f1b15b145db109fa708fb2c7285 /doc/release
parent5af524421dd14107cbf05db942f0cc3f5a7656e7 (diff)
downloadnumpy-08a92de354f1f7592c7957f4aafe892f3d5a828a.tar.gz
ENH: Add np.ctypeslib.as_ctypes_type(dtype), improve `np.ctypeslib.as_ctypes`
This also improves `np.ctypeslib.as_ctypes` to support more types of array: * non-native endianness * structured arrays with non-overlapping fields * booleans
Diffstat (limited to 'doc/release')
-rw-r--r--doc/release/1.17.0-notes.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/release/1.17.0-notes.rst b/doc/release/1.17.0-notes.rst
index c2052603d..565d0f0a8 100644
--- a/doc/release/1.17.0-notes.rst
+++ b/doc/release/1.17.0-notes.rst
@@ -67,6 +67,15 @@ maintains `O(N log N)` run time complexity instead of deteriorating towards
`O(N*N)` for prime lengths. Also, accuracy for real-valued FFTs with near-prime
lengths has improved and is on par with complex-valued FFTs.
+Further improvements to ``ctypes`` support in ``np.ctypeslib``
+--------------------------------------------------------------
+A new ``np.ctypeslib.as_ctypes_type`` function has been added, which can be
+used to converts a `dtype` into a best-guess `ctypes` type. Thanks to this
+new function, ``np.ctypeslib.as_ctypes`` now supports a much wider range of
+array types, including structures, booleans, and integers of non-native
+endianness.
+
+
Changes
=======