classification
Title: ctypes could include data type limits
Type: enhancement Stage:
Components: ctypes Versions:
process
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 2009-04-28 20:14 by theller. 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
2009-04-28 20:14:17thellersetstatus: open -> closed
resolution: rejected
messages: + msg86765
2008-12-04 21:51:12roysmithcreate