From 4003417f7b94648a7726995a49ab56c4bc8aad55 Mon Sep 17 00:00:00 2001 From: unwox Date: Fri, 23 Aug 2024 14:02:10 +0600 Subject: small fixes --- lua.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua.go') diff --git a/lua.go b/lua.go index d7f27fa..a150e27 100644 --- a/lua.go +++ b/lua.go @@ -89,7 +89,7 @@ func (l *Lua) StackLen() int { return int(C.lua_gettop(l.l)) } -// ToInt converts a stack value with stack index -1 into a string. +// ToInt converts a stack value with stack index into a string. func (l *Lua) ToString(index int) string { return C.GoString(C.lua_tolstring(l.l, C.int(index), nil)) } -- cgit v1.2.3