/////////////////////////////////////////////////////////////////////
| 190 | |
| 191 | ////////////////////////////////////////////////////////////////////////// |
| 192 | bool CScriptTable::GetValueAny(const char* sKey, ScriptAnyValue& any, bool bChain) |
| 193 | { |
| 194 | CHECK_STACK(L); |
| 195 | int top = lua_gettop(L); |
| 196 | if (!bChain) |
| 197 | PushRef(); |
| 198 | lua_pushstring(L, sKey); |
| 199 | lua_gettable(L, -2); |
| 200 | bool res = m_pSS->PopAny(any); |
| 201 | lua_settop(L, top); |
| 202 | return res; |
| 203 | } |
| 204 | |
| 205 | ////////////////////////////////////////////////////////////////////////// |
| 206 | void CScriptTable::SetAtAny(int nIndex, const ScriptAnyValue& any) |
no test coverage detected