aboutsummaryrefslogtreecommitdiff
path: root/modules/lua/api/coroutine.luadoc
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-08-21 01:14:24 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2010-08-21 01:14:24 -0400
commitf41a788cb424b31fd687253e8db3fd448a693b4a (patch)
treed733e35486108a29afcac5d84a9adfd03dcb30c4 /modules/lua/api/coroutine.luadoc
parent0c1718a568f4db2661ab3fc960beba22ce5ff00c (diff)
downloadtextadept-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.luadoc10
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, ...)