aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules/graphics/je_lua_ttf_data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/modules/graphics/je_lua_ttf_data.cpp')
-rw-r--r--src/lua/modules/graphics/je_lua_ttf_data.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lua/modules/graphics/je_lua_ttf_data.cpp b/src/lua/modules/graphics/je_lua_ttf_data.cpp
index fb43ae4..1277318 100644
--- a/src/lua/modules/graphics/je_lua_ttf_data.cpp
+++ b/src/lua/modules/graphics/je_lua_ttf_data.cpp
@@ -37,7 +37,7 @@ namespace JinEngine
return 0;
}
- LUA_EXPORT int luaopen_TTFData(lua_State* L)
+ LUA_EXPORT void luaopen_TTFData(lua_State* L)
{
luaL_Reg f[] = {
{ "__gc", l_gc },
@@ -46,7 +46,6 @@ namespace JinEngine
};
luax_newtype(L, Jin_Lua_TTFData, f);
- return 0;
}
} // namespace Lua