void c_Generator::done() { assert(getState() == State::Running); cellSetNull(m_key); cellSetNull(m_value); setState(State::Done); }
void Generator::done(TypedValue tv) { assert(getState() == State::Running); cellSetNull(m_key); cellSet(*tvToCell(&tv), m_value); setState(State::Done); }