mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-08 18:52:50 -06:00
implement gu_exn_caught in gu/exn.c. It was missing
This commit is contained in:
@@ -68,5 +68,10 @@ gu_exn_raise_(GuExn* base, GuType* type)
|
|||||||
return gu_exn_raise_debug_(base, type, NULL, NULL, -1);
|
return gu_exn_raise_debug_(base, type, NULL, NULL, -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GuType*
|
||||||
|
gu_exn_caught(GuExn* err)
|
||||||
|
{
|
||||||
|
return err->caught;
|
||||||
|
}
|
||||||
|
|
||||||
GU_DEFINE_TYPE(GuErrno, signed, _);
|
GU_DEFINE_TYPE(GuErrno, signed, _);
|
||||||
|
|||||||
Reference in New Issue
Block a user