diff options
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)) } |
