mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Properly export all lua-facing functions and use those for initialization (love.cpp no longer explicitly mentions implementations)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user