diff options
author | 2010-08-21 01:14:24 -0400 | |
---|---|---|
committer | 2010-08-21 01:14:24 -0400 | |
commit | f41a788cb424b31fd687253e8db3fd448a693b4a (patch) | |
tree | d733e35486108a29afcac5d84a9adfd03dcb30c4 /modules/lua/api/coroutine.luadoc | |
parent | 0c1718a568f4db2661ab3fc960beba22ce5ff00c (diff) | |
download | textadept-f41a788cb424b31fd687253e8db3fd448a693b4a.tar.gz textadept-f41a788cb424b31fd687253e8db3fd448a693b4a.zip |
Added Lua autocompletion support.
Diffstat (limited to 'modules/lua/api/coroutine.luadoc')
-rw-r--r-- | modules/lua/api/coroutine.luadoc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/lua/api/coroutine.luadoc b/modules/lua/api/coroutine.luadoc new file mode 100644 index 00000000..7e60f275 --- /dev/null +++ b/modules/lua/api/coroutine.luadoc @@ -0,0 +1,10 @@ +--- Creates coroutine from function f, returns coroutine. +function create(f) +-- Continues execution of co, returns bool status plus any values. +function resume(co, val1, ...) +--- Returns co status: "running", "suspended" or "dead". +function status(co) +--- Creates coroutine with body f, returns function that resumes co. +function wrap(f) +--- Suspend execution of calling coroutine. +function yield(val1, ...) |