summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2019-01-15 07:15:22 +0200
committerGitHub <noreply@github.com>2019-01-15 07:15:22 +0200
commita4b450ddd71f6fc7efd1a1eff655122abaec2bdc (patch)
treedcf7795568fa8da188de84d2c41f43d10660ca29 /doc
parent7885b293398a5009ffc4bb961d4804b0af0b3e83 (diff)
parent08a92de354f1f7592c7957f4aafe892f3d5a828a (diff)
downloadnumpy-a4b450ddd71f6fc7efd1a1eff655122abaec2bdc.tar.gz
Merge pull request #12456 from eric-wieser/dtype_to_ctypes
ENH: Add np.ctypeslib.as_ctypes_type(dtype), improve `np.ctypeslib.as_ctypes`
Diffstat (limited to 'doc')
-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 10563f4c0..c79c966c7 100644
--- a/doc/release/1.17.0-notes.rst
+++ b/doc/release/1.17.0-notes.rst
@@ -73,6 +73,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
=======