Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 4b0785d

Browse files
committed
luaL_checkstack luaL_checkstring
* Checkstack had incorrect name * luaL_checkstring doesn't exist
1 parent dd1dbcf commit 4b0785d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,14 @@ pub struct LuaSharedInterface {
6565
pub lua_pushnumber: extern fn(state: LuaState, num: LuaNumber),
6666
pub lua_pushvalue: extern fn(state: LuaState, idx: CInt),
6767
pub lua_pushcclosure: extern fn(state: LuaState, fnc: LuaCFunction, idx: CInt),
68-
69-
pub lua_checkstack: extern fn(state: LuaState, size: CInt, msg: CharBuf),
7068

7169
// Type Checks
7270
pub luaL_checkinteger: extern fn(state: LuaState, narg: CInt) -> LuaInteger,
7371
pub luaL_checknumber: extern fn(state: LuaState, narg: CInt) -> LuaNumber,
74-
pub luaL_checkstring: extern fn(state: LuaState, narg: CInt) -> CharBuf,
7572
pub luaL_checklstring: extern fn(state: LuaState, narg: CInt) -> CharBuf,
7673

7774
// Type Checks that return nothing
75+
pub luaL_checkstack: extern fn(state: LuaState, size: CInt, msg: CharBuf),
7876
pub luaL_checkany: extern fn(state: LuaState, narg: CInt),
7977
pub luaL_checktype: extern fn(state: LuaState, narg: CInt, typeid: CInt),
8078
pub luaL_checkudata: extern fn(state: LuaState, narg: CInt, len: SizeT),

0 commit comments

Comments
 (0)