Changes in libcfa/src/exception.c [381132b:8ad5752]
- File:
-
- 1 edited
-
libcfa/src/exception.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/exception.c
r381132b r8ad5752 85 85 __cfadbg_print_safe(exception, "Throwing resumption exception\n"); 86 86 87 { 88 __attribute__((cleanup(reset_top_resume))) 89 struct __cfaehm_try_resume_node * original_head = context->top_resume; 90 struct __cfaehm_try_resume_node * current = context->top_resume; 91 92 for ( ; current ; current = current->next) { 93 context->top_resume = current->next; 94 if (current->handler(except)) { 95 return; 96 } 87 __attribute__((cleanup(reset_top_resume))) 88 struct __cfaehm_try_resume_node * original_head = context->top_resume; 89 struct __cfaehm_try_resume_node * current = context->top_resume; 90 91 for ( ; current ; current = current->next) { 92 context->top_resume = current->next; 93 if (current->handler(except)) { 94 return; 97 95 } 98 } // End the search and return to the top of the stack.96 } 99 97 100 98 // No handler found, fall back to the default operation.
Note:
See TracChangeset
for help on using the changeset viewer.