| 63 | #undef LUABIND_PROXY_ASSIGNMENT_OPERATOR |
| 64 | |
| 65 | void proxy_object::pushvalue() const |
| 66 | { |
| 67 | assert((m_key.is_valid()) && "you cannot call pushvalue() on an uninitialized object"); |
| 68 | |
| 69 | lua_State* L = m_obj->lua_state(); |
| 70 | m_obj->pushvalue(); |
| 71 | m_key.get(L); |
| 72 | lua_gettable(L, -2); |
| 73 | // remove the table and leave the value on top of the stack |
| 74 | lua_remove(L, -2); |
| 75 | } |
| 76 | |
| 77 | void proxy_object::set() const |
| 78 | { |
no test coverage detected