Skip to content

Commit

Permalink
rename default to def
Browse files Browse the repository at this point in the history
  • Loading branch information
MathematicalDessert committed Nov 21, 2021
1 parent eaea782 commit 0192eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VM/include/lualib.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ LUALIB_API double luaL_checknumber(lua_State* L, int numArg);
LUALIB_API double luaL_optnumber(lua_State* L, int nArg, double def);

LUALIB_API bool luaL_checkboolean(lua_State* L, int narg);
LUALIB_API bool luaL_optboolean(lua_State* L, int narg, bool default);
LUALIB_API bool luaL_optboolean(lua_State* L, int narg, bool def);

LUALIB_API int luaL_checkinteger(lua_State* L, int numArg);
LUALIB_API int luaL_optinteger(lua_State* L, int nArg, int def);
Expand Down

0 comments on commit 0192eff

Please sign in to comment.