Issue 4538: ctypes could include data type limits (original) (raw)

Issue4538

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)...
History
Date User Action Args
2022-04-11 14:56:42 admin set github: 48788
2009-04-28 20:14:17 theller set status: open -> closedresolution: rejectedmessages: +
2008-12-04 21:51:12 roysmith create