From 7e51ff3bfae0becc260452a427a1fc1232a4b348 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 15 Nov 2018 19:29:27 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lua/modules/graphics/je_lua_spritesheet.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lua/modules/graphics/je_lua_spritesheet.cpp') diff --git a/src/lua/modules/graphics/je_lua_spritesheet.cpp b/src/lua/modules/graphics/je_lua_spritesheet.cpp index ef1bd85..15469e9 100644 --- a/src/lua/modules/graphics/je_lua_spritesheet.cpp +++ b/src/lua/modules/graphics/je_lua_spritesheet.cpp @@ -40,7 +40,7 @@ namespace JinEngine return 1; } - LUA_EXPORT int luaopen_SpriteSheet(lua_State* L) + LUA_EXPORT void luaopen_SpriteSheet(lua_State* L) { luaL_Reg methods[] = { { "__gc", l_gc }, @@ -48,7 +48,6 @@ namespace JinEngine { 0, 0 } }; luax_newtype(L, Jin_Lua_SpriteSheet, methods); - return 0; } } -- cgit v1.1-26-g67d0