From b1a7511990c5676581810e9fce1d8ad790014048 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Thu, 29 Oct 2009 16:52:09 +0000 Subject: 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 --- apps/plugins/lua/rocklib_aux.pl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/plugins/lua') 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, -- cgit v1.2.3