[Python-checkins] cpython (3.2): Add c_size_t and c_ssize_t to the ctypes summary table.
antoine.pitrou
python-checkins at python.org
Thu Jul 12 20:33:56 CEST 2012
http://hg.python.org/cpython/rev/a8aa77458e12
changeset: 78069:a8aa77458e12
branch: 3.2
parent: 78067:f1a0823b7772
user: Antoine Pitrou <solipsis at pitrou.net>
date: Thu Jul 12 20:31:50 2012 +0200
summary:
Add c_size_t and c_ssize_t to the ctypes summary table.
files:
Doc/library/ctypes.rst | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -243,6 +243,11 @@
| :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 |
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list