mirror of
https://github.com/love2d/love.git
synced 2026-08-12 16:40:57 +02:00
Automatically deduce the type in luax_checktype, luax_getmodule, luax_optmodule and luax_totype
--HG-- branch : dynamiccore2
This commit is contained in:
@@ -28,7 +28,7 @@ namespace filesystem
|
||||
|
||||
DroppedFile *luax_checkdroppedfile(lua_State *L, int idx)
|
||||
{
|
||||
return luax_checktype<DroppedFile>(L, idx, DroppedFile::type);
|
||||
return luax_checktype<DroppedFile>(L, idx);
|
||||
}
|
||||
|
||||
extern "C" int luaopen_droppedfile(lua_State *L)
|
||||
|
||||
Reference in New Issue
Block a user