[Python-checkins] cpython (merge 3.2 -> default): 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:57 CEST 2012


http://hg.python.org/cpython/rev/c2f33ce165f1
changeset:   78070:c2f33ce165f1
parent:      78068:38f822128c65
parent:      78069:a8aa77458e12
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Thu Jul 12 20:32:11 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
@@ -248,6 +248,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