ctypes.c_int8

class ctypes.c_int8 Represents the C 8-bit signed int datatype. Usually an alias for c_byte.

ctypes.c_long

class ctypes.c_long Represents the C signed long datatype. The constructor accepts an optional integer initializer; no overflow checking is done.

ctypes.c_longlong

class ctypes.c_longlong Represents the C signed long long datatype. The constructor accepts an optional integer initializer; no overflow checking is done.

ctypes.c_int64

class ctypes.c_int64 Represents the C 64-bit signed int datatype. Usually an alias for c_longlong.

ctypes.c_float

class ctypes.c_float Represents the C float datatype. The constructor accepts an optional float initializer.

ctypes.c_int16

class ctypes.c_int16 Represents the C 16-bit signed int datatype. Usually an alias for c_short.

ctypes.c_int32

class ctypes.c_int32 Represents the C 32-bit signed int datatype. Usually an alias for c_int.

ctypes.c_int

class ctypes.c_int Represents the C signed int datatype. The constructor accepts an optional integer initializer; no overflow checking is done. On platforms where sizeof(int) == sizeof(long) it is an alias to c_long.

ctypes.c_bool

class ctypes.c_bool Represent the C bool datatype (more accurately, _Bool from C99). Its value can be True or False, and the constructor accepts any object that has a truth value.

ctypes.c_char

class ctypes.c_char Represents the C char datatype, and interprets the value as a single character. The constructor accepts an optional string initializer, the length of the string must be exactly one character.