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:
parent
36378988ad
commit
bfd0179042
64 changed files with 5733 additions and 9088 deletions
|
|
@ -98,7 +98,7 @@ static int dir_iter_factory (lua_State *L) {
|
|||
lua_setmetatable (L, -2);
|
||||
d->dir = rb->opendir (path);
|
||||
if (d->dir == NULL)
|
||||
luaL_error (L, "cannot open dir %s: %d", path, errno);
|
||||
luaL_error (L, "cannot open %s: %d", path, errno);
|
||||
|
||||
return 2;
|
||||
}
|
||||
|
|
@ -125,7 +125,7 @@ static int dir_create_meta (lua_State *L) {
|
|||
return 1;
|
||||
}
|
||||
|
||||
static const struct luaL_Reg fslib[] = {
|
||||
static const struct luaL_reg fslib[] = {
|
||||
{"dir", dir_iter_factory},
|
||||
{"mkdir", make_dir},
|
||||
{"rmdir", remove_dir},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue