1
0
Fork 0
forked from len0rd/rockbox

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.
This commit is contained in:
Marcin Bukat 2014-04-02 20:46:06 +02:00
parent 36378988ad
commit bfd0179042
64 changed files with 5733 additions and 9088 deletions

View file

@ -133,7 +133,6 @@ print <<EOF
#define _ROCKCONF_H_ /* We don't need strcmp() etc. wrappers */
#include "lua.h"
#include "rocklib.h"
#include "lauxlib.h"
#include "plugin.h"
@ -208,7 +207,7 @@ sub in_string
sub in_bool
{
my ($name, $type, $pos) = @_;
return sprintf("\tbool %s = rli_checkboolean(L, %d);\n", $name, $pos)
return sprintf("\tbool %s = luaL_checkboolean(L, %d);\n", $name, $pos)
}
sub out_void