Skip to content

Use luaL_checkinteger() consistently#39

Open
spotaws wants to merge 1 commit intoflukso:masterfrom
spotaws:patch-1
Open

Use luaL_checkinteger() consistently#39
spotaws wants to merge 1 commit intoflukso:masterfrom
spotaws:patch-1

Conversation

@spotaws
Copy link

@spotaws spotaws commented Mar 5, 2026

Lua 5.5 (latest stable) dropped the luaL_checkint() alias (which just passed it to luaL_checkinteger() anyway). Since this code already uses luaL_checkinteger() once below, I've just changed this invocation of the old name to the new one.

Lua 5.5 (latest stable) dropped the luaL_checkint() alias (which just passed it to luaL_checkinteger() anyway). Since this code already uses luaL_checkinteger() once below, I've just changed this invocation of the old name to the new one.
@karlp
Copy link
Contributor

karlp commented Mar 5, 2026

https://www.lua.org/manual/5.1/manual.html#luaL_checkinteger goes at least as far as 5.1, which is as far as I feel is sane to support, so yeah, this LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants