| 1171 | } |
| 1172 | |
| 1173 | bool CScriptObject::BeginIteration() |
| 1174 | { |
| 1175 | if(m_nIterationCounter!=-1) |
| 1176 | return false; |
| 1177 | |
| 1178 | m_nIterationCounter=lua_gettop(m_pLS); |
| 1179 | if (!_GET_THIS()) |
| 1180 | return false; |
| 1181 | lua_pushnil(m_pLS); |
| 1182 | return true; |
| 1183 | } |
| 1184 | |
| 1185 | bool CScriptObject::MoveNext() |
| 1186 | { |
no test coverage detected