Changeset 5251c6b
- Timestamp:
- Dec 20, 2024, 3:11:10 PM (9 months ago)
- Branches:
- master
- Children:
- d9f6d80
- Parents:
- b12b1ba
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/stack.hfa
rb12b1ba r5251c6b 14 14 }; 15 15 16 inline {16 static inline { 17 17 // wrappers to make Collection have T 18 18 T & head( Stack(T) & s ) with( s ) { … … 70 70 struct StackIter { 71 71 inline ColIter; // Plan 9 inheritance 72 }; 72 }; 73 73 74 inline {74 static inline { 75 75 void ?{}( StackIter(T) & si ) with( si ) { 76 76 ((ColIter &)si){}; -
libcfa/src/concurrency/coroutine.cfa
rb12b1ba r5251c6b 81 81 82 82 // helper for popping from coroutine's ehm buffer 83 inlinenonlocal_exception * pop_ehm_head( coroutine$ * this ) {83 static nonlocal_exception * pop_ehm_head( coroutine$ * this ) { 84 84 lock( this->ehm_state.buffer_lock __cfaabi_dbg_ctx2 ); 85 85 nonlocal_exception * nl_ex = pop_head( this->ehm_state.ehm_buffer ); -
tests/exceptions/except-io.hfa
rb12b1ba r5251c6b 9 9 }; 10 10 11 inline void ?{}(loud_exit & this, const char * area) {11 static inline void ?{}(loud_exit & this, const char * area) { 12 12 this.area = area; 13 13 } 14 14 15 inline void ^?{}(loud_exit & this) {15 static inline void ^?{}(loud_exit & this) { 16 16 sout | "Exiting: " | this.area; 17 17 } … … 21 21 }; 22 22 23 inline void ?{}(loud_region & this, const char * region) {23 static inline void ?{}(loud_region & this, const char * region) { 24 24 this.region = region; 25 25 sout | "Entering: " | region; 26 26 } 27 27 28 inline void ^?{}(loud_region & this) {28 static inline void ^?{}(loud_region & this) { 29 29 sout | "Exiting: " | this.region; 30 30 }
Note:
See TracChangeset
for help on using the changeset viewer.