mirror of https://github.com/Hilbis/Hilbish
fix: int64/int mixup, missing imports
parent
1f9fd80fbb
commit
29ac92dc0b
|
@ -5,6 +5,7 @@ import (
|
|||
"fmt"
|
||||
|
||||
"hilbish/moonlight"
|
||||
rt "github.com/arnodel/golua/runtime"
|
||||
)
|
||||
|
||||
func handleLua(input string) (string, uint8, error) {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"hilbish/util"
|
||||
|
||||
rt "github.com/arnodel/golua/runtime"
|
||||
"github.com/maxlandon/readline"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue