| 383 | // push_functor |
| 384 | template<typename RVal> |
| 385 | void push_functor(lua_State *L, RVal (*func)()) |
| 386 | { |
| 387 | lua_pushcclosure(L, functor<RVal>::invoke, 1); |
| 388 | } |
| 389 | |
| 390 | template<typename RVal, typename T1> |
| 391 | void push_functor(lua_State *L, RVal (*func)(T1)) |
no test coverage detected