/////////////////////////////////////////////////////////////////////
| 214 | |
| 215 | ////////////////////////////////////////////////////////////////////////// |
| 216 | bool CScriptTable::GetAtAny(int nIndex, ScriptAnyValue& any) |
| 217 | { |
| 218 | CHECK_STACK(L); |
| 219 | PushRef(); |
| 220 | lua_rawgeti(L, -1, nIndex); |
| 221 | bool res = m_pSS->PopAny(any); |
| 222 | lua_pop(L, 1); // Pop table. |
| 223 | |
| 224 | return res; |
| 225 | } |
| 226 | |
| 227 | ////////////////////////////////////////////////////////////////////////// |
| 228 | int CScriptTable::Count() |
no test coverage detected