diff options
| author | unwox <me@unwox.com> | 2024-08-23 14:02:10 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2024-08-23 14:02:10 +0600 |
| commit | 4003417f7b94648a7726995a49ab56c4bc8aad55 (patch) | |
| tree | 95fc8353e83963664c9124a2985823d7b7e13c6a /lua.go | |
| parent | 37229ea3864bcdc77b2341ff12ebc55e5098718e (diff) | |
small fixes
Diffstat (limited to 'lua.go')
| -rw-r--r-- | lua.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) } |
