(L *LState)
| 1 | package lua |
| 2 | |
| 3 | func OpenCoroutine(L *LState) int { |
| 4 | // TODO: Tie module name to contents of linit.go? |
| 5 | mod := L.RegisterModule(CoroutineLibName, coFuncs) |
| 6 | L.Push(mod) |
| 7 | return 1 |
| 8 | } |
| 9 | |
| 10 | var coFuncs = map[string]LGFunction{ |
| 11 | "create": coCreate, |
nothing calls this directly
no test coverage detected
searching dependent graphs…