| 23784 | |
| 23785 | template <typename E = reference, typename T> |
| 23786 | basic_environment<E> get_environment(const T& target) { |
| 23787 | lua_State* L = target.lua_state(); |
| 23788 | auto pp = stack::pop_n(L, stack::push_environment_of(target)); |
| 23789 | return basic_environment<E>(L, -1); |
| 23790 | } |
| 23791 | |
| 23792 | struct this_environment { |
| 23793 | optional<environment> env; |
no test coverage detected