mirror of
https://github.com/love2d/love.git
synced 2026-08-14 10:13:46 +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:
@@ -52,7 +52,7 @@ namespace box2d
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
int luaopen_polygonshape(lua_State * L)
|
||||
extern "C" int luaopen_polygonshape(lua_State * L)
|
||||
{
|
||||
return luax_register_type(L, "PolygonShape", functions);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user