Changes in libcfa/src/exception.hfa [e68d092:979df46]
- File:
-
- 1 edited
-
libcfa/src/exception.hfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/exception.hfa
re68d092 r979df46 10 10 // Created On : Thu Apr 7 10:25:00 2020 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Thu Apr 7 10:25:00 202013 // Update Count : 012 // Last Modified On : Wed Apr 13 15:42:00 2020 13 // Update Count : 1 14 14 // 15 16 // WARNING: This is for documentation as it will match ANY type. 17 trait is_exception(dtype T) { 18 /* The first field must be a pointer to a virtual table. 19 * That virtual table must be a decendent of the base exception virtual table. 20 */ 21 }; 22 23 forall(dtype T | is_exception(T)) 24 inline void cancel_stack(T & except) __attribute__((noreturn)) { 25 __cfaehm_cancel_stack( (exception_t *)&except ); 26 } 15 27 16 28 // Everything below this line should be considered a patch while the exception
Note:
See TracChangeset
for help on using the changeset viewer.