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

Commit 572abb5

Browse files
committed
Add rest of the error bindings
1 parent 7169427 commit 572abb5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lua_shared.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ expose_symbol!( lua_rawequal, CInt, (state: LuaState, ind1: CInt, ind2: CInt) );
151151

152152
// Raising Errors
153153
expose_symbol!( luaL_typerror, CInt, (state: LuaState, narg: CInt, typename: CharBuf) );
154+
expose_symbol!( luaL_error, CInt, (state: LuaState, fmt: CharBuf, ...) );
155+
expose_symbol!( luaL_argerror, CInt, (state: LuaState, narg: CInt, extramsg: CharBuf) );
156+
expose_symbol!( lua_error, CInt, (state: LuaState) );
154157

155158
// Open
156159
expose_symbol!( luaopen_table, CInt, (state: LuaState) );

0 commit comments

Comments
 (0)