mirror of
https://github.com/Hilbis/Hilbish
synced 2025-07-01 16:52:03 +00:00
19 lines
254 B
Go
19 lines
254 B
Go
//go:build !midnight
|
|
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()
|
|
}
|