Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
a2347597
Commit
a2347597
authored
Jun 29, 2014
by
Paul Sokolovsky
Browse files
modffi: Support short types.
parent
8139494e
Changes
1
Hide whitespace changes
Inline
Side-by-side
unix/modffi.c
View file @
a2347597
...
...
@@ -100,6 +100,8 @@ STATIC ffi_type *char2ffi_type(char c)
switch
(
c
)
{
case
'b'
:
return
&
ffi_type_schar
;
case
'B'
:
return
&
ffi_type_uchar
;
case
'h'
:
return
&
ffi_type_sshort
;
case
'H'
:
return
&
ffi_type_ushort
;
case
'i'
:
return
&
ffi_type_sint
;
case
'I'
:
return
&
ffi_type_uint
;
case
'l'
:
return
&
ffi_type_slong
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment