| 200 | } |
| 201 | |
| 202 | runnable lua::create_runnable(State* L) { |
| 203 | auto funcptr = create_lambda_handler(L); |
| 204 | return [=]() { |
| 205 | getglobal(L, LAMBDAS_TABLE); |
| 206 | getfield(L, *funcptr); |
| 207 | call_nothrow(L, 0); |
| 208 | pop(L); |
| 209 | }; |
| 210 | } |
| 211 | |
| 212 | scripting::common_func lua::create_lambda(State* L) { |
| 213 | auto funcptr = create_lambda_handler(L); |
nothing calls this directly
no test coverage detected