diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/runtime/c/gu/exn.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime/c/gu/exn.c b/src/runtime/c/gu/exn.c index 7bcfeb088..ec68ec039 100644 --- a/src/runtime/c/gu/exn.c +++ b/src/runtime/c/gu/exn.c @@ -68,5 +68,10 @@ gu_exn_raise_(GuExn* base, GuType* type) return gu_exn_raise_debug_(base, type, NULL, NULL, -1); } +GuType* +gu_exn_caught(GuExn* err) +{ + return err->caught; +} GU_DEFINE_TYPE(GuErrno, signed, _); |
