ansi-c

Verifying ctypes type precision in Python

Verifying ctypes type precision in Python Question: If an API expects a 64 bit type, how can I check that a ctypes type has that many bits if sizeof returns the number of bytes? How do I know how many bits are in each byte on the current platform? Where is CHAR_BIT defined in Python? …

Total answers: 1