mirror of
https://github.com/elua/elua.git
synced 2025-01-08 20:56:17 +08:00
move luaopen_dummy() to fix build error
This commit is contained in:
parent
c6b97d4605
commit
84f5080926
@ -107,6 +107,13 @@ LUALIB_API int luaopen_platform (lua_State *L)
|
|||||||
// End of platform module section
|
// End of platform module section
|
||||||
// ****************************************************************************
|
// ****************************************************************************
|
||||||
|
|
||||||
|
|
||||||
|
// Dummy open function
|
||||||
|
int luaopen_dummy(lua_State *L)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
#undef _ROM
|
#undef _ROM
|
||||||
#define _ROM( name, openf, table ) { name, openf },
|
#define _ROM( name, openf, table ) { name, openf },
|
||||||
|
|
||||||
@ -144,10 +151,3 @@ LUALIB_API void luaL_openlibs (lua_State *L) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Dummy open function
|
|
||||||
int luaopen_dummy(lua_State *L)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user