diff options
Diffstat (limited to 'src/runtime/c')
| -rw-r--r-- | src/runtime/c/gu/exn.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/runtime/c/gu/exn.h b/src/runtime/c/gu/exn.h index 66ca107e3..36e52917f 100644 --- a/src/runtime/c/gu/exn.h +++ b/src/runtime/c/gu/exn.h @@ -91,8 +91,11 @@ gu_exn_clear(GuExn* err) { GuType* gu_exn_caught(GuExn* err); -const void* -gu_exn_caught_data(GuExn* err); +inline const void* +gu_exn_caught_data(GuExn* err) +{ + return err->data.data; +} /// Temporarily block a raised exception. void |
