mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30: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:
@@ -63,7 +63,7 @@ RandomGenerator::Seed luax_checkrandomseed(lua_State *L, int idx)
|
||||
|
||||
RandomGenerator *luax_checkrandomgenerator(lua_State *L, int idx)
|
||||
{
|
||||
return luax_checktype<RandomGenerator>(L, idx, RandomGenerator::type);
|
||||
return luax_checktype<RandomGenerator>(L, idx);
|
||||
}
|
||||
|
||||
int w_RandomGenerator__random(lua_State *L)
|
||||
|
||||
Reference in New Issue
Block a user