diff options
| author | Diego Nehab <diego.nehab@gmail.com> | 2018-06-05 09:56:59 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-05 09:56:59 -0300 |
| commit | cc42bcbf80c8184d64d9fe28ef8d18472f49ba76 (patch) | |
| tree | beee9af67d33b0a073abe41b4efb49182f62404d /doc | |
| parent | 652959890943c34d7180cae372339b91e62f0d7b (diff) | |
| parent | 8fee6363093611302af3af5139eba9716267f03b (diff) | |
| download | luasocket-cc42bcbf80c8184d64d9fe28ef8d18472f49ba76.tar.gz luasocket-cc42bcbf80c8184d64d9fe28ef8d18472f49ba76.tar.bz2 luasocket-cc42bcbf80c8184d64d9fe28ef8d18472f49ba76.zip | |
Merge pull request #251 from ewestbrook/ltn12tblsrc
Add ltn12.source.table()
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/ltn12.html | 10 | ||||
| -rw-r--r-- | doc/reference.html | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/doc/ltn12.html b/doc/ltn12.html index 54e66fb..ee2502f 100644 --- a/doc/ltn12.html +++ b/doc/ltn12.html | |||
| @@ -405,6 +405,16 @@ Creates and returns a source that produces the contents of a | |||
| 405 | <tt>string</tt>, chunk by chunk. | 405 | <tt>string</tt>, chunk by chunk. |
| 406 | </p> | 406 | </p> |
| 407 | 407 | ||
| 408 | <!-- table +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | ||
| 409 | |||
| 410 | <p class=name id="source.table"> | ||
| 411 | ltn12.source.<b>table(</b>table<b>)</b> | ||
| 412 | </p> | ||
| 413 | |||
| 414 | <p class=description> | ||
| 415 | Creates and returns a source that produces the numerically-indexed values of a <tt>table</tt> successively beginning at 1. The source returns nil (end-of-stream) whenever a nil value is produced by the current index, which proceeds forward regardless. | ||
| 416 | </p> | ||
| 417 | |||
| 408 | <!-- footer +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 418 | <!-- footer +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
| 409 | 419 | ||
| 410 | <div class=footer> | 420 | <div class=footer> |
diff --git a/doc/reference.html b/doc/reference.html index 287dc19..163a8a2 100644 --- a/doc/reference.html +++ b/doc/reference.html | |||
| @@ -99,7 +99,8 @@ Support, Manual"> | |||
| 99 | <a href="ltn12.html#source.error">error</a>, | 99 | <a href="ltn12.html#source.error">error</a>, |
| 100 | <a href="ltn12.html#source.file">file</a>, | 100 | <a href="ltn12.html#source.file">file</a>, |
| 101 | <a href="ltn12.html#source.simplify">simplify</a>, | 101 | <a href="ltn12.html#source.simplify">simplify</a>, |
| 102 | <a href="ltn12.html#source.string">string</a>. | 102 | <a href="ltn12.html#source.string">string</a>, |
| 103 | <a href="ltn12.html#source.table">table</a>. | ||
| 103 | </blockquote> | 104 | </blockquote> |
| 104 | </blockquote> | 105 | </blockquote> |
| 105 | 106 | ||
