summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/rocklib_aux.pl
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2014-04-02 20:46:06 +0200
committerMarcin Bukat <marcin.bukat@gmail.com>2014-04-02 20:46:06 +0200
commitbfd0179042b0b02fb88748d54e56e7e208bb117f (patch)
tree42d5fd51574054caaf673420fca1ec962d62d2f2 /apps/plugins/lua/rocklib_aux.pl
parent36378988ad4059982742f05f5eb50580b456840a (diff)
downloadrockbox-bfd0179042b0b02fb88748d54e56e7e208bb117f.tar.gz
rockbox-bfd0179042b0b02fb88748d54e56e7e208bb117f.zip
Revert "Update lua plugin to 5.2.3"
FILE typedef to *void needs more work to not break sim and application builds. I checked only a few random native builds unfortunately. Sorry for inconvenience.
Diffstat (limited to 'apps/plugins/lua/rocklib_aux.pl')
-rwxr-xr-xapps/plugins/lua/rocklib_aux.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/lua/rocklib_aux.pl b/apps/plugins/lua/rocklib_aux.pl
index 61e0115bdf..9103fccbda 100755
--- a/apps/plugins/lua/rocklib_aux.pl
+++ b/apps/plugins/lua/rocklib_aux.pl
@@ -133,7 +133,6 @@ print <<EOF
133 133
134#define _ROCKCONF_H_ /* We don't need strcmp() etc. wrappers */ 134#define _ROCKCONF_H_ /* We don't need strcmp() etc. wrappers */
135#include "lua.h" 135#include "lua.h"
136#include "rocklib.h"
137#include "lauxlib.h" 136#include "lauxlib.h"
138#include "plugin.h" 137#include "plugin.h"
139 138
@@ -208,7 +207,7 @@ sub in_string
208sub in_bool 207sub in_bool
209{ 208{
210 my ($name, $type, $pos) = @_; 209 my ($name, $type, $pos) = @_;
211 return sprintf("\tbool %s = rli_checkboolean(L, %d);\n", $name, $pos) 210 return sprintf("\tbool %s = luaL_checkboolean(L, %d);\n", $name, $pos)
212} 211}
213 212
214sub out_void 213sub out_void