implement gu_exn_caught in gu/exn.c. It was missing

This commit is contained in:
kr.angelov
2013-02-01 09:26:30 +00:00
parent eda1058441
commit c99ab058ea

View File

@@ -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, _);