mirror of https://github.com/Hilbis/Hilbish
docs: add emmy lua annotation for id in jobs.disown
parent
7234111d6d
commit
35e2a54172
1
job.go
1
job.go
|
@ -462,6 +462,7 @@ func (j *jobHandler) luaAllJobs(t *rt.Thread, c *rt.GoCont) (rt.Cont, error) {
|
||||||
// #interface jobs
|
// #interface jobs
|
||||||
// disown(id)
|
// disown(id)
|
||||||
// Disowns a job. This deletes it from the job table.
|
// Disowns a job. This deletes it from the job table.
|
||||||
|
// --- @param id number
|
||||||
func (j *jobHandler) luaDisownJob(t *rt.Thread, c *rt.GoCont) (rt.Cont, error) {
|
func (j *jobHandler) luaDisownJob(t *rt.Thread, c *rt.GoCont) (rt.Cont, error) {
|
||||||
if err := c.Check1Arg(); err != nil {
|
if err := c.Check1Arg(); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
Loading…
Reference in New Issue