Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/coroutines

    rc84e80a r8118303  
    2626// Anything that is resumed is a coroutine.
    2727trait is_coroutine(dtype T) {
    28       void main(T * this);
     28      void co_main(T * this);
    2929      coroutine * get_coroutine(T * this);
    3030};
    31 
    32 #define DECL_COROUTINE(X) static inline coroutine* get_coroutine(X* this) { return &this->c; } void main(X* this);
    3331
    3432//-----------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.