| 38 | } |
| 39 | |
| 40 | inline protected_function_result::protected_function_result(unsafe_function_result&& o) noexcept |
| 41 | : L(o.lua_state()), index(o.stack_index()), returncount(o.return_count()), popcount(o.return_count()), err(o.status()) { |
| 42 | // Must be manual, otherwise destructor will screw us |
| 43 | // return count being 0 is enough to keep things clean |
| 44 | // but we will be thorough |
| 45 | o.abandon(); |
| 46 | } |
| 47 | |
| 48 | inline protected_function_result& protected_function_result::operator=(unsafe_function_result&& o) noexcept { |
| 49 | L = o.lua_state(); |
nothing calls this directly
no test coverage detected