- File:
-
- 1 edited
-
doc/working/exception/impl/exception.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/working/exception/impl/exception.c
r6a48cc9 r35ba584c 73 73 } 74 74 75 // Example throw routine76 75 void __throw_terminate( int val ) { 77 76 // Store the current exception … … 107 106 printf("UNWIND ERROR %d after raise exception\n", ret); 108 107 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); 109 116 } 110 117
Note:
See TracChangeset
for help on using the changeset viewer.