Also expose functions having (s)size_t or off_t as argument/return type to Lua.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23403 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
67f616478a
commit
b1a7511990
1 changed files with 6 additions and 0 deletions
|
@ -138,6 +138,9 @@ my %in_types = ('void' => \&in_void,
|
|||
'char' => \&in_int,
|
||||
'unsignedchar' => \&in_int,
|
||||
'signedchar' => \&in_int,
|
||||
'size_t' => \&in_int,
|
||||
'ssize_t' => \&in_int,
|
||||
'off_t' => \&in_int,
|
||||
'char*' => \&in_string,
|
||||
'signedchar*' => \&in_string,
|
||||
'unsignedchar*' => \&in_string,
|
||||
|
@ -158,6 +161,9 @@ my %in_types = ('void' => \&in_void,
|
|||
'char' => \&out_int,
|
||||
'unsignedchar' => \&out_int,
|
||||
'signedchar' => \&out_int,
|
||||
'size_t' => \&out_int,
|
||||
'ssize_t' => \&out_int,
|
||||
'off_t' => \&out_int,
|
||||
'char*' => \&out_string,
|
||||
'signedchar*' => \&out_string,
|
||||
'unsignedchar*' => \&out_string,
|
||||
|
|
Loading…
Reference in a new issue