mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -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);
|
||||
}
|
||||
|
||||
GuType*
|
||||
gu_exn_caught(GuExn* err)
|
||||
{
|
||||
return err->caught;
|
||||
}
|
||||
|
||||
GU_DEFINE_TYPE(GuErrno, signed, _);
|
||||
|
||||
Reference in New Issue
Block a user