mirror of
https://github.com/love2d/love.git
synced 2026-08-14 01:20:56 +02:00
Automatically deduce the type in luax_checktype, luax_getmodule, luax_optmodule and luax_totype
--HG-- branch : dynamiccore2
This commit is contained in:
@@ -29,7 +29,7 @@ namespace filesystem
|
||||
|
||||
FileData *luax_checkfiledata(lua_State *L, int idx)
|
||||
{
|
||||
return luax_checktype<FileData>(L, idx, FileData::type);
|
||||
return luax_checktype<FileData>(L, idx);
|
||||
}
|
||||
|
||||
int w_FileData_getFilename(lua_State *L)
|
||||
|
||||
Reference in New Issue
Block a user