unix/modffi: Add support for "q"/"Q" specs (int64_t/uint64_t).
This commit is contained in:
parent
0c18633ea9
commit
6c5b2bded2
@ -108,6 +108,8 @@ STATIC ffi_type *char2ffi_type(char c)
|
||||
case 'I': return &ffi_type_uint;
|
||||
case 'l': return &ffi_type_slong;
|
||||
case 'L': return &ffi_type_ulong;
|
||||
case 'q': return &ffi_type_sint64;
|
||||
case 'Q': return &ffi_type_uint64;
|
||||
#if MICROPY_PY_BUILTINS_FLOAT
|
||||
case 'f': return &ffi_type_float;
|
||||
case 'd': return &ffi_type_double;
|
||||
|
Loading…
x
Reference in New Issue
Block a user