aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules/graphics/je_lua_bitmap.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-11-15 19:29:27 +0800
committerchai <chaifix@163.com>2018-11-15 19:29:27 +0800
commit7e51ff3bfae0becc260452a427a1fc1232a4b348 (patch)
treee2c4cddcd5ed719a611be4c92edf1991a63203c5 /src/lua/modules/graphics/je_lua_bitmap.cpp
parenta6f2d5fff89b7322009c46a9272668ca4c32ce64 (diff)
*修改代码结构
Diffstat (limited to 'src/lua/modules/graphics/je_lua_bitmap.cpp')
-rw-r--r--src/lua/modules/graphics/je_lua_bitmap.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lua/modules/graphics/je_lua_bitmap.cpp b/src/lua/modules/graphics/je_lua_bitmap.cpp
index 4b7c492..6b7655f 100644
--- a/src/lua/modules/graphics/je_lua_bitmap.cpp
+++ b/src/lua/modules/graphics/je_lua_bitmap.cpp
@@ -95,7 +95,7 @@ namespace JinEngine
return 1;
}
- LUA_EXPORT int luaopen_Bitmap(lua_State* L)
+ LUA_EXPORT void luaopen_Bitmap(lua_State* L)
{
luaL_Reg f[] = {
{ "__gc", l_gc },
@@ -108,7 +108,6 @@ namespace JinEngine
{ 0, 0 }
};
luax_newtype(L, Jin_Lua_Bitmap, f);
- return 0;
}
} // namespace Graphics