| 18799 | } |
| 18800 | |
| 18801 | inline unsafe_function_result::unsafe_function_result(protected_function_result&& o) noexcept |
| 18802 | : L(o.lua_state()), index(o.stack_index()), returncount(o.return_count()) { |
| 18803 | // Must be manual, otherwise destructor will screw us |
| 18804 | // return count being 0 is enough to keep things clean |
| 18805 | // but we will be thorough |
| 18806 | o.abandon(); |
| 18807 | } |
| 18808 | inline unsafe_function_result& unsafe_function_result::operator=(protected_function_result&& o) noexcept { |
| 18809 | L = o.lua_state(); |
| 18810 | index = o.stack_index(); |
nothing calls this directly
no test coverage detected