Skip to content

[3.13] gh-136769: Include fixed-width integers in the fundamental data types table (GH-136784) #136786

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions Doc/library/ctypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,24 @@ Fundamental data types
+----------------------+------------------------------------------+----------------------------+
| :class:`c_int` | :c:expr:`int` | int |
+----------------------+------------------------------------------+----------------------------+
| :class:`c_int8` | :c:type:`int8_t` | int |
+----------------------+------------------------------------------+----------------------------+
| :class:`c_int16` | :c:type:`int16_t` | int |
+----------------------+------------------------------------------+----------------------------+
| :class:`c_int32` | :c:type:`int32_t` | int |
+----------------------+------------------------------------------+----------------------------+
| :class:`c_int64` | :c:type:`int64_t` | int |
+----------------------+------------------------------------------+----------------------------+
| :class:`c_uint` | :c:expr:`unsigned int` | int |
+----------------------+------------------------------------------+----------------------------+
| :class:`c_uint8` | :c:type:`uint8_t` | int |
+----------------------+------------------------------------------+----------------------------+
| :class:`c_uint16` | :c:type:`uint16_t` | int |
+----------------------+------------------------------------------+----------------------------+
| :class:`c_uint32` | :c:type:`uint32_t` | int |
+----------------------+------------------------------------------+----------------------------+
| :class:`c_uint64` | :c:type:`uint64_t` | int |
+----------------------+------------------------------------------+----------------------------+
| :class:`c_long` | :c:expr:`long` | int |
+----------------------+------------------------------------------+----------------------------+
| :class:`c_ulong` | :c:expr:`unsigned long` | int |
Expand Down Expand Up @@ -2348,7 +2364,7 @@ These are the fundamental ctypes data types:

.. class:: c_int8

Represents the C 8-bit :c:expr:`signed int` datatype. Usually an alias for
Represents the C 8-bit :c:expr:`signed int` datatype. It is an alias for
:class:`c_byte`.


Expand Down Expand Up @@ -2423,7 +2439,7 @@ These are the fundamental ctypes data types:

.. class:: c_uint8

Represents the C 8-bit :c:expr:`unsigned int` datatype. Usually an alias for
Represents the C 8-bit :c:expr:`unsigned int` datatype. It is an alias for
:class:`c_ubyte`.


Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy