| 1768 | |
| 1769 | |
| 1770 | static int matchtime_l (lua_State *L) { |
| 1771 | int l1 = getpattl(L, 1); |
| 1772 | Instruction *op = newpatt(L, 1 + l1 + 1); |
| 1773 | Instruction *p = op; |
| 1774 | luaL_checktype(L, 2, LUA_TFUNCTION); |
| 1775 | setinstcap(p++, IOpenCapture, value2fenv(L, 2), Cruntime, 0); |
| 1776 | p += addpatt(L, p, 1); |
| 1777 | setinstcap(p, ICloseRunTime, 0, Cclose, 0); |
| 1778 | optimizecaptures(op); |
| 1779 | return 1; |
| 1780 | } |
| 1781 | |
| 1782 | |
| 1783 | static int capconst_l (lua_State *L) { |
nothing calls this directly
no test coverage detected