Hilbish/moonlight/cont_golua.go

19 lines
254 B
Go
Raw Permalink Normal View History

2024-07-21 15:37:08 +00:00
//go:build !midnight
2024-07-20 15:34:39 +00:00
package moonlight
import (
rt "github.com/arnodel/golua/runtime"
)
type GoCont struct{
cont *rt.GoCont
thread *rt.Thread
}
2024-07-21 15:37:08 +00:00
2024-07-20 15:34:39 +00:00
type Cont = rt.Cont
type Closure = rt.Closure
func (gc *GoCont) Next() Cont {
return gc.cont.Next()
}