diff options
Diffstat (limited to 'manual/manual.of')
| -rw-r--r-- | manual/manual.of | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/manual/manual.of b/manual/manual.of index 10c16bd1..6d19e251 100644 --- a/manual/manual.of +++ b/manual/manual.of | |||
| @@ -4160,7 +4160,7 @@ and then pops the top element. | |||
| 4160 | 4160 | ||
| 4161 | } | 4161 | } |
| 4162 | 4162 | ||
| 4163 | @APIEntry{int lua_resetthread (lua_State *L);| | 4163 | @APIEntry{int lua_resetthread (lua_State *L, lua_State *from);| |
| 4164 | @apii{0,?,-} | 4164 | @apii{0,?,-} |
| 4165 | 4165 | ||
| 4166 | Resets a thread, cleaning its call stack and closing all pending | 4166 | Resets a thread, cleaning its call stack and closing all pending |
| @@ -4173,6 +4173,11 @@ or an error status otherwise. | |||
| 4173 | In case of error, | 4173 | In case of error, |
| 4174 | leaves the error object on the top of the stack. | 4174 | leaves the error object on the top of the stack. |
| 4175 | 4175 | ||
| 4176 | The parameter @id{from} represents the coroutine that is resetting @id{L}. | ||
| 4177 | If there is no such coroutine, | ||
| 4178 | this parameter can be @id{NULL}. | ||
| 4179 | (This parameter was introduced in @N{release 5.4.5}.) | ||
| 4180 | |||
| 4176 | } | 4181 | } |
| 4177 | 4182 | ||
| 4178 | @APIEntry{int lua_resume (lua_State *L, lua_State *from, int nargs, | 4183 | @APIEntry{int lua_resume (lua_State *L, lua_State *from, int nargs, |
