Merge pull request #449 from 10sr/jobSpawn

Add `JobSpawn()` function for plugin interface
This commit is contained in:
Zachary Yedidia
2016-11-29 08:57:41 -05:00
committed by GitHub
3 changed files with 15 additions and 5 deletions

View File

@@ -351,6 +351,7 @@ func main() {
// Used for asynchronous jobs
L.SetGlobal("JobStart", luar.New(L, JobStart))
L.SetGlobal("JobSpawn", luar.New(L, JobSpawn))
L.SetGlobal("JobSend", luar.New(L, JobSend))
L.SetGlobal("JobStop", luar.New(L, JobStop))