Hilbish/moonlight/cont_golua.go

17 lines
232 B
Go
Raw Normal View History

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
}
type Cont = rt.Cont
type Closure = rt.Closure
func (gc *GoCont) Next() Cont {
return gc.cont.Next()
}