summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source')
-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`.