summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/exn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/c/gu/exn.h')
-rw-r--r--src/runtime/c/gu/exn.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/runtime/c/gu/exn.h b/src/runtime/c/gu/exn.h
index c043c4b8a..3fefae738 100644
--- a/src/runtime/c/gu/exn.h
+++ b/src/runtime/c/gu/exn.h
@@ -75,10 +75,8 @@ gu_new_exn(GuExn* parent, GuKind* catch_kind, GuPool* pool);
-static inline bool
-gu_exn_is_raised(GuExn* err) {
- return err && (err->state == GU_EXN_RAISED);
-}
+bool
+gu_exn_is_raised(GuExn* err);
static inline void
gu_exn_clear(GuExn* err) {