ctypes.c_longdouble

class ctypes.c_longdouble Represents the C long double datatype. The constructor accepts an optional float initializer. On platforms where sizeof(long double) == sizeof(double) it is an alias to c_double.

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_int8

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

ctypes.c_int64

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

ctypes.c_int32

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

ctypes.c_int16

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

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_float

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

ctypes.c_double

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

ctypes.c_char_p

class ctypes.c_char_p Represents the C char * datatype when it points to a zero-terminated string. For a general character pointer that may also point to binary data, POINTER(c_char) must be used. The constructor accepts an integer address, or a bytes object.