fix: int64/int mixup, missing imports

midnight-edition
sammyette 2024-07-21 11:40:13 -04:00
parent 1f9fd80fbb
commit 29ac92dc0b
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
3 changed files with 5 additions and 2 deletions

View File

@ -5,6 +5,7 @@ import (
"fmt"
"hilbish/moonlight"
rt "github.com/arnodel/golua/runtime"
)
func handleLua(input string) (string, uint8, error) {

View File

@ -24,8 +24,8 @@ func StringValue(str string) Value {
return rt.StringValue(str)
}
func IntValue(i int) Value {
return rt.IntValue(int64(i))
func IntValue(i int64) Value {
return rt.IntValue(i)
}
func BoolValue(b bool) Value {

View File

@ -2,6 +2,8 @@
package main
import (
"hilbish/util"
rt "github.com/arnodel/golua/runtime"
"github.com/maxlandon/readline"
)