This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: ctypes could include data type limits
Type: enhancement Stage:
Components: ctypes Versions:
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: theller Nosy List: roysmith, theller
Priority: normal Keywords:

Created on 2008-12-04 21:51 by roysmith, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg76932 - (view) Author: Roy Smith (roysmith) Date: 2008-12-04 21:51
It would be useful if ctypes included limiting constants for the various 
fixed-size integers, i.e. MAX_INT_32, MIN_INT_32, etc.

Maybe it does and I just missed just didn't see it in the docs?
msg86765 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2009-04-28 20:14
Isn't is easy to find these limits by using ctypes?

Something like ctypes.sizeof(ctypes.c_uint32)...
Date User Action Args
2022-04-11 14:56:42adminsetgithub: 48788
2009-04-28 20:14:17thellersetstatus: open -> closed
resolution: rejected
messages: + msg86765
2008-12-04 21:51:12roysmithcreate