Changeset 57fd66d for libcfa/src
- Timestamp:
 - Aug 9, 2023, 3:16:43 PM (2 years ago)
 - Branches:
 - master
 - Children:
 - 3318dff
 - Parents:
 - 7c2820e
 - Location:
 - libcfa/src
 - Files:
 - 
      
- 2 edited
 
- 
          
  exception.c (modified) (2 diffs)
 - 
          
  exception.h (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
libcfa/src/exception.c
r7c2820e r57fd66d 123 123 124 124 // Creates a copy of the indicated exception and sets current_exception to it. 125 staticvoid __cfaehm_allocate_exception( exception_t * except ) {125 void __cfaehm_allocate_exception( exception_t * except ) { 126 126 struct exception_context_t * context = this_exception_context(); 127 127 … … 239 239 240 240 // The exception that is being thrown must already be stored. 241 staticvoid __cfaehm_begin_unwind(void(*defaultHandler)(exception_t *)) {241 void __cfaehm_begin_unwind(void(*defaultHandler)(exception_t *)) { 242 242 struct exception_context_t * context = this_exception_context(); 243 243 if ( NULL == context->current_exception ) {  - 
      
libcfa/src/exception.h
r7c2820e r57fd66d 50 50 void __cfaehm_rethrow_terminate() __attribute__((noreturn)); 51 51 void __cfaehm_throw_resume(exception_t * except, void (*)(exception_t *)); 52 53 // Used in non-local ehm (see coroutine.cfa) 54 void __cfaehm_allocate_exception( exception_t * except ); 55 void __cfaehm_begin_unwind(void(*defaultHandler)(exception_t *)); 56 52 57 53 58 // Function catches termination exceptions.  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.