mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +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:
@@ -110,7 +110,7 @@ namespace box2d
|
||||
return 0;
|
||||
}
|
||||
|
||||
int luaopen_contact(lua_State * L)
|
||||
extern "C" int luaopen_contact(lua_State * L)
|
||||
{
|
||||
static const luaL_Reg functions[] = {
|
||||
{ "getPositions", w_Contact_getPositions },
|
||||
|
||||
Reference in New Issue
Block a user