diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-10-29 16:52:09 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-10-29 16:52:09 +0000 |
commit | b1a7511990c5676581810e9fce1d8ad790014048 (patch) | |
tree | bdbab40f46690bcf67d7302f988683d30706c6f6 /apps/plugins | |
parent | 67f616478a1c1f095a0b04371e17a2f4e0e9df66 (diff) |
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
Diffstat (limited to 'apps/plugins')
-rwxr-xr-x | apps/plugins/lua/rocklib_aux.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/lua/rocklib_aux.pl b/apps/plugins/lua/rocklib_aux.pl index c9d590975c..f536ba3b78 100755 --- a/apps/plugins/lua/rocklib_aux.pl +++ b/apps/plugins/lua/rocklib_aux.pl @@ -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, |