summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-07-12 18:31:50 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-07-12 18:31:50 (GMT)
commit52cc722ab8857c16173585532c24fbf1c40039ae (patch)
treedeba84c383ca291be89d54fd560a24ea360b36f1
parent921d1244c6fdacdd2044ed9fdf2ffac5588a641e (diff)
downloadcpython-52cc722ab8857c16173585532c24fbf1c40039ae.zip
cpython-52cc722ab8857c16173585532c24fbf1c40039ae.tar.gz
cpython-52cc722ab8857c16173585532c24fbf1c40039ae.tar.bz2
Add c_size_t and c_ssize_t to the ctypes summary table.
-rw-r--r--Doc/library/ctypes.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index df39c28..3c602c8 100644
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -243,6 +243,11 @@ Fundamental data types
| :class:`c_ulonglong` | :c:type:`unsigned __int64` or | int |
| | :c:type:`unsigned long long` | |
+----------------------+------------------------------------------+----------------------------+
+| :class:`c_size_t` | :c:type:`size_t` | int |
++----------------------+------------------------------------------+----------------------------+
+| :class:`c_ssize_t` | :c:type:`ssize_t` or | int |
+| | :c:type:`Py_ssize_t` | |
++----------------------+------------------------------------------+----------------------------+
| :class:`c_float` | :c:type:`float` | float |
+----------------------+------------------------------------------+----------------------------+
| :class:`c_double` | :c:type:`double` | float |