mirror of https://github.com/Hilbis/Hilbish
fix: int64/int mixup, missing imports
parent
1f9fd80fbb
commit
29ac92dc0b
|
@ -5,6 +5,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"hilbish/moonlight"
|
"hilbish/moonlight"
|
||||||
|
rt "github.com/arnodel/golua/runtime"
|
||||||
)
|
)
|
||||||
|
|
||||||
func handleLua(input string) (string, uint8, error) {
|
func handleLua(input string) (string, uint8, error) {
|
||||||
|
|
|
@ -24,8 +24,8 @@ func StringValue(str string) Value {
|
||||||
return rt.StringValue(str)
|
return rt.StringValue(str)
|
||||||
}
|
}
|
||||||
|
|
||||||
func IntValue(i int) Value {
|
func IntValue(i int64) Value {
|
||||||
return rt.IntValue(int64(i))
|
return rt.IntValue(i)
|
||||||
}
|
}
|
||||||
|
|
||||||
func BoolValue(b bool) Value {
|
func BoolValue(b bool) Value {
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"hilbish/util"
|
||||||
|
|
||||||
rt "github.com/arnodel/golua/runtime"
|
rt "github.com/arnodel/golua/runtime"
|
||||||
"github.com/maxlandon/readline"
|
"github.com/maxlandon/readline"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue