Changes in libcfa/src/exception.hfa [979df46:e68d092]
- File:
-
- 1 edited
-
libcfa/src/exception.hfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/exception.hfa
r979df46 re68d092 10 10 // Created On : Thu Apr 7 10:25:00 2020 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Wed Apr 13 15:42:00 202013 // Update Count : 112 // Last Modified On : Thu Apr 7 10:25:00 2020 13 // Update Count : 0 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 }27 15 28 16 // Everything below this line should be considered a patch while the exception
Note:
See TracChangeset
for help on using the changeset viewer.