updated to latest mobile-common (should fix love.touch index problems)

This commit is contained in:
fysx
2014-05-03 14:13:40 +02:00
parent c40250e565
commit 97d9154e48
40 changed files with 321 additions and 199 deletions
+3 -3
View File
@@ -27,7 +27,7 @@ namespace love
namespace system
{
static System *instance = 0;
static System *instance = nullptr;
int w_getOS(lua_State *L)
{
@@ -99,7 +99,7 @@ static const luaL_Reg functions[] =
extern "C" int luaopen_love_system(lua_State *L)
{
if (instance == 0)
if (instance == nullptr)
{
instance = new love::system::sdl::System();
}
@@ -111,7 +111,7 @@ extern "C" int luaopen_love_system(lua_State *L)
w.name = "system";
w.flags = MODULE_T;
w.functions = functions;
w.types = 0;
w.types = nullptr;
return luax_register_module(L, w);
}