aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules/graphics/je_lua_ttf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/modules/graphics/je_lua_ttf.cpp')
-rw-r--r--src/lua/modules/graphics/je_lua_ttf.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lua/modules/graphics/je_lua_ttf.cpp b/src/lua/modules/graphics/je_lua_ttf.cpp
index 1f5be50..c5d922b 100644
--- a/src/lua/modules/graphics/je_lua_ttf.cpp
+++ b/src/lua/modules/graphics/je_lua_ttf.cpp
@@ -52,7 +52,7 @@ namespace JinEngine
return 1;
}
- LUA_EXPORT int luaopen_TTF(lua_State* L)
+ LUA_EXPORT void luaopen_TTF(lua_State* L)
{
luaL_Reg f[] = {
{ "__gc", l_gc },
@@ -60,8 +60,6 @@ namespace JinEngine
{ 0, 0 }
};
luax_newtype(L, Jin_Lua_TTF, f);
-
- return 0;
}
} // namespace Lua