mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Update VM/src/laux.cpp
This commit is contained in:
parent
c8752f657e
commit
e3cd3e8d08
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ LUALIB_API int luaL_checkboolean(lua_State* L, int narg)
|
||||||
return lua_toboolean(L, narg);
|
return lua_toboolean(L, narg);
|
||||||
}
|
}
|
||||||
|
|
||||||
LUALIB_API int luaL_optboolean(lua_State* L, int narg, bool def)
|
LUALIB_API int luaL_optboolean(lua_State* L, int narg, int def)
|
||||||
{
|
{
|
||||||
return luaL_opt(L, luaL_checkboolean, narg, def);
|
return luaL_opt(L, luaL_checkboolean, narg, def);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue