* Check if the status is a success, i.e. LUA_OK or LUA_YIELD. */
| 201 | * Check if the status is a success, i.e. LUA_OK or LUA_YIELD. |
| 202 | */ |
| 203 | inline bool IsSuccess(int status) { |
| 204 | return (status == LUA_OK || status == LUA_YIELD); |
| 205 | } |
| 206 | |
| 207 | // Internal helper |
| 208 | template<int (*cb)(lua_State*,int,lua_KContext)> |
no outgoing calls
no test coverage detected