Get the size of a type in bytes.
Python equivalent: ctypes.sizeof
ctypes.sizeof
sizeof(c_int32) // 4sizeof(c_double) // 8sizeof(c_void_p) // 8 (on 64-bit) Copy
sizeof(c_int32) // 4sizeof(c_double) // 8sizeof(c_void_p) // 8 (on 64-bit)
Get the size of a type in bytes.
Python equivalent:
ctypes.sizeof