| 11590 | |
| 11591 | |
| 11592 | static lua_State *getthread (lua_State *L, int *arg) { |
| 11593 | if (lua_isthread(L, 1)) { |
| 11594 | *arg = 1; |
| 11595 | return lua_tothread(L, 1); |
| 11596 | } |
| 11597 | else { |
| 11598 | *arg = 0; |
| 11599 | return L; |
| 11600 | } |
| 11601 | } |
| 11602 | |
| 11603 | |
| 11604 | static void treatstackoption (lua_State *L, lua_State *L1, const char *fname) { |
no test coverage detected