Changes in src/libcfa/exception.c [38ac6ec:ad0be81]
- File:
-
- 1 edited
-
src/libcfa/exception.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/exception.c
r38ac6ec rad0be81 10 10 // Created On : Mon Jun 26 15:13:00 2017 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Tus Jul 11 16:36:00 201713 // Update Count : 112 // Last Modified On : Mon Nov 26 15:11:00 2017 13 // Update Count : 0 14 14 // 15 15 … … 44 44 // RESUMPTION ================================================================ 45 45 46 void __cfaehm__throw_resum e(exception * except) {46 void __cfaehm__throw_resumption(exception * except) { 47 47 48 48 // DEBUG … … 65 65 66 66 // Fall back to termination: 67 __cfaehm__throw_terminat e(except);67 __cfaehm__throw_termination(except); 68 68 // TODO: Default handler for resumption. 69 69 } … … 111 111 } 112 112 113 void __cfaehm__throw_terminat e( exception * val ) {113 void __cfaehm__throw_termination( exception * val ) { 114 114 // Store the current exception 115 115 shared_stack.current_exception = *val; … … 147 147 148 148 // Nesting this the other way would probably be faster. 149 void __cfaehm__rethrow_terminat e(void) {149 void __cfaehm__rethrow_termination(void) { 150 150 // DEBUG 151 151 printf("Rethrowing termination exception\n"); 152 152 153 __cfaehm__throw_terminat e(&shared_stack.current_exception);153 __cfaehm__throw_termination(&shared_stack.current_exception); 154 154 } 155 155
Note:
See TracChangeset
for help on using the changeset viewer.