public void Mark() { Print("Mark()"); // skip 1 frame, ie. this function mark_continuation_frame(m_handle, 1); }
public int GetNext(int a, int b, int c, int d, int e) { if (m_cont == null) { m_cont = new Continuation(); m_cont.Mark(); return m_cont.Store(0); } else { m_cont.Restore(1); throw new Exception("not reached"); } }