Changeset 5251c6b for libcfa/src


Ignore:
Timestamp:
Dec 20, 2024, 3:11:10 PM (6 weeks ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
d9f6d80
Parents:
b12b1ba
Message:

Changed some inline declarations to static or static inline (which are the same except for intent communication). This makes them more robust to inline changes.

Location:
libcfa/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/bits/stack.hfa

    rb12b1ba r5251c6b  
    1414        };
    1515
    16         inline {
     16        static inline {
    1717                // wrappers to make Collection have T
    1818                T & head( Stack(T) & s ) with( s ) {
     
    7070        struct StackIter {
    7171                inline ColIter;                                                                 // Plan 9 inheritance
    72         };     
     72        };
    7373
    74         inline {
     74        static inline {
    7575                void ?{}( StackIter(T) & si ) with( si ) {
    7676                        ((ColIter &)si){};
  • libcfa/src/concurrency/coroutine.cfa

    rb12b1ba r5251c6b  
    8181
    8282// helper for popping from coroutine's ehm buffer
    83 inline nonlocal_exception * pop_ehm_head( coroutine$ * this ) {
     83static nonlocal_exception * pop_ehm_head( coroutine$ * this ) {
    8484    lock( this->ehm_state.buffer_lock __cfaabi_dbg_ctx2 );
    8585    nonlocal_exception * nl_ex = pop_head( this->ehm_state.ehm_buffer );
Note: See TracChangeset for help on using the changeset viewer.