mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +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:
@@ -244,7 +244,7 @@ namespace audio
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
int luaopen_source(lua_State * L)
|
||||
extern "C" int luaopen_source(lua_State * L)
|
||||
{
|
||||
return luax_register_type(L, "Source", functions);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user