pomona the escort
-
Any arguments passed away to the purpose run as further arguments to coroutine
Any arguments passed away to the purpose run as further arguments to coroutine Like coroutine.create , the coroutine.wrap work also brings a coroutine, but alternatively of returning the coroutine alone, it returns a function that, when called, resumes the coroutine. resume . coroutine.wrap comes back most of the standards came back by coroutine.resume , except the initial one (the boolean mistake laws). Unlike coroutine.resume , coroutine.wrap will not get problems; any mistake is propagated towards caller.
This area defines the C API for Lua, this is certainly, the pair of C functions accessible to the variety regimen to communicate with Lua. All API functions and associated kinds and constants tend to be announced within the header file lua.h .
Even when we make use of the name “function”, any facility inside the API is likely to be supplied as a macro rather. All such macros utilize each one of their unique arguments exactly when (aside from the first debate, and is constantly a Lua state), so never generate any hidden side effects.