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

Commit 7e8ff88

Browse files
committed
Add lua_gettop
Ugh
1 parent d3387c5 commit 7e8ff88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lua_shared.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ expose_symbol!( luaL_fileresult, CInt, (state: LuaState, stat: CInt, fname: Char
204204
expose_symbol!( luaL_findtable, CharBuf, (state: LuaState, idx: CInt, fname: CharBuf, szhint: CInt) );
205205
expose_symbol!( lua_checkstack, CInt, (state: LuaState, extra: CInt) );
206206
expose_symbol!( lua_atpanic, LuaCFunction, (state: LuaState, panicf: LuaCFunction) );
207+
expose_symbol!( lua_gettop, CInt, (state: LuaState) );
207208

208209
// luaL_Buffer
209210
expose_symbol!( luaL_buffinit, (), (state: LuaState, b: *mut LuaL_Buffer) );

0 commit comments

Comments
 (0)