mirror of https://github.com/Hilbis/Hilbish
17 lines
232 B
Go
17 lines
232 B
Go
|
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()
|
||
|
}
|