Skip to content
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

gh-92869: ctypes: Add c_time_t #92870

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

gh-92869: ctypes: Add c_time_t #92870

wants to merge 2 commits into from

Conversation

thp
Copy link
Contributor

@thp thp commented May 17, 2022

This implements a simple way of using ctypes.c_time_t for 32-bit and 64-bit time_t sizes. See #92869 for a discussion on why this is useful and considerations for different platforms. This doesn't take into account platforms where time_t is defined as double or anything else that's not a signed integer.

@cpython-cla-bot
Copy link

@cpython-cla-bot cpython-cla-bot bot commented May 17, 2022

All commit authors signed the Contributor License Agreement.
CLA signed

@thp thp force-pushed the ctypes_c_time_t branch 2 times, most recently from 9d077ff to f8a8dd3 Compare May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants