diff options
author | Thomas Perl <m@thp.io> | 2022-07-03 18:58:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-03 18:58:02 (GMT) |
commit | b296c7442be97600dc87819e885e037313883d8e (patch) | |
tree | 1bac0d27ad4aa8f047864ead58cb480057e12243 /Misc | |
parent | 39c29f753e6d6f390dce5a36613c1e03f43d28ea (diff) | |
download | cpython-b296c7442be97600dc87819e885e037313883d8e.zip cpython-b296c7442be97600dc87819e885e037313883d8e.tar.gz cpython-b296c7442be97600dc87819e885e037313883d8e.tar.bz2 |
gh-92869: ctypes: Add c_time_t (#92870)
Adds `ctypes.c_time_t` to represent the C `time_t` type accurately as its size varies.
Primarily-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google]
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-05-17-06-27-39.gh-issue-92869.t8oBkw.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-05-17-06-27-39.gh-issue-92869.t8oBkw.rst b/Misc/NEWS.d/next/Library/2022-05-17-06-27-39.gh-issue-92869.t8oBkw.rst new file mode 100644 index 0000000..7787f34 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-05-17-06-27-39.gh-issue-92869.t8oBkw.rst @@ -0,0 +1,2 @@ +Added :class:`~ctypes.c_time_t` to :mod:`ctypes`, which has the same size as +the :c:type:`time_t` type in C. |