Changeset 046ba23


Ignore:
Timestamp:
Mar 4, 2023, 1:47:38 PM (21 months ago)
Author:
caparsons <caparson@…>
Branches:
ADT, ast-experimental, master
Children:
2856044a
Parents:
809e058
Message:

small comment cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Concurrency/Actors.cpp

    r809e058 r046ba23  
    229229                    return receiver;
    230230                }
    231             */ // C_TODO: update this with new no alloc version
     231            */
    232232            CompoundStmt * sendBody = new CompoundStmt( decl->location );
    233233
     
    259259            ));
    260260
    261             // Function type is: Allocation (*)( actor &, messsage & )
     261            // Function type is: Allocation (*)( actor &, message & )
    262262            FunctionType * genericReceive = new FunctionType();
    263263            genericReceive->params.push_back( new ReferenceType( new StructInstType( *actorDecl ) ) );
     
    265265            genericReceive->returns.push_back( new EnumInstType( *allocationDecl ) );
    266266
    267             // Generates: Allocation (*fn)( actor &, messsage & ) = (Allocation (*)( actor &, messsage & ))my_work_fn;
     267            // Generates: Allocation (*fn)( actor &, message & ) = (Allocation (*)( actor &, message & ))my_work_fn;
    268268            // More readable synonymous code:
    269269            //     typedef Allocation (*__receive_fn)(actor &, message &);
Note: See TracChangeset for help on using the changeset viewer.