Properly export all lua-facing functions and use those for initialization (love.cpp no longer explicitly mentions implementations)

This commit is contained in:
Bart van Strien
2011-12-24 01:10:40 +01:00
parent e0dcf55703
commit c707a4ca45
85 changed files with 119 additions and 114 deletions
+2 -2
View File
@@ -155,7 +155,7 @@ namespace thread
{ 0, 0 }
};
int luaopen_thread(lua_State *L)
extern "C" int luaopen_thread(lua_State *L)
{
return luax_register_type(L, "Thread", type_functions);
}
@@ -249,7 +249,7 @@ namespace thread
0
};
int luaopen_love_thread(lua_State *L)
extern "C" int luaopen_love_thread(lua_State *L)
{
if (instance == 0)
{