summaryrefslogtreecommitdiff
path: root/doc/source/reference
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2021-06-22 17:26:41 +0200
committerBas van Beek <b.f.van.beek@vu.nl>2021-06-22 17:55:35 +0200
commita42f9a23a2c7957f20347df4b131c4c9bc2f340d (patch)
treeddae880ab158c3fc7f22368604034c6bf16aaa85 /doc/source/reference
parent80b387c66e4f10faafdb1a21c011c173f77b0942 (diff)
downloadnumpy-a42f9a23a2c7957f20347df4b131c4c9bc2f340d.tar.gz
DOC: Add documentation for `np.ctypeslib.c_intp`
Diffstat (limited to 'doc/source/reference')
-rw-r--r--doc/source/reference/routines.ctypeslib.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/source/reference/routines.ctypeslib.rst b/doc/source/reference/routines.ctypeslib.rst
index 3a059f5d9..c6127ca64 100644
--- a/doc/source/reference/routines.ctypeslib.rst
+++ b/doc/source/reference/routines.ctypeslib.rst
@@ -11,3 +11,10 @@ C-Types Foreign Function Interface (:mod:`numpy.ctypeslib`)
.. autofunction:: as_ctypes_type
.. autofunction:: load_library
.. autofunction:: ndpointer
+
+.. class:: c_intp
+
+ A `ctypes` signed integer type of the same size as `numpy.intp`.
+
+ Depending on the platform, it can be an alias for either `~ctypes.c_int`,
+ `~ctypes.c_long` or `~ctypes.c_longlong`.