We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8139494 commit a234759Copy full SHA for a234759
unix/modffi.c
@@ -100,6 +100,8 @@ STATIC ffi_type *char2ffi_type(char c)
100
switch (c) {
101
case 'b': return &ffi_type_schar;
102
case 'B': return &ffi_type_uchar;
103
+ case 'h': return &ffi_type_sshort;
104
+ case 'H': return &ffi_type_ushort;
105
case 'i': return &ffi_type_sint;
106
case 'I': return &ffi_type_uint;
107
case 'l': return &ffi_type_slong;
0 commit comments