Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/coroutine.c

    r17af7d1 rc3acb841  
    44struct Fibonacci {
    55      int fn; // used for communication
    6       coroutine_desc __cor;
     6      coroutine_desc c;
    77};
    88
     
    1212
    1313coroutine_desc* get_coroutine(Fibonacci* this) {
    14       return &this->__cor;
     14      return &this->c;
    1515}
    1616
     
    1818#ifdef MORE_DEBUG
    1919      sout | "Starting main of coroutine " | this | endl;
    20       sout | "Started from " | this->__cor.last | endl;
     20      sout | "Started from " | this->c.last | endl;
    2121#endif
    2222      int fn1, fn2;             // retained between resumes
Note: See TracChangeset for help on using the changeset viewer.