mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Automatically deduce the type in luax_checktype, luax_getmodule, luax_optmodule and luax_totype
--HG-- branch : dynamiccore2
This commit is contained in:
@@ -30,7 +30,7 @@ namespace box2d
|
||||
|
||||
Shape *luax_checkshape(lua_State *L, int idx)
|
||||
{
|
||||
return luax_checktype<Shape>(L, idx, Shape::type);
|
||||
return luax_checktype<Shape>(L, idx);
|
||||
}
|
||||
|
||||
int w_Shape_getType(lua_State *L)
|
||||
|
||||
Reference in New Issue
Block a user