Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/working/exception/impl/exception.c

    r35ba584c r6a48cc9  
    7373}
    7474
     75// Example throw routine
    7576void __throw_terminate( int val ) {
    7677        // Store the current exception
     
    106107        printf("UNWIND ERROR %d after raise exception\n", ret);
    107108        abort();
    108 }
    109 
    110 // Nesting this the other way would probably be faster.
    111 void __rethrow_terminate(void) {
    112         // DEBUG
    113         printf("Rethrowing termination exception\n");
    114 
    115         __throw_terminate(shared_stack.current_exception);
    116109}
    117110
Note: See TracChangeset for help on using the changeset viewer.