From 1b6245ccdcd414698a257847d508603f438578ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Mon, 21 Dec 2020 11:15:08 +0900 Subject: include/ruby/internal/error.h: add doxygen Must not be a bad idea to improve documents. --- eval.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'eval.c') diff --git a/eval.c b/eval.c index ff05984bf1..209ad334ee 100644 --- a/eval.c +++ b/eval.c @@ -1769,26 +1769,12 @@ errinfo_getter(ID id, VALUE *_) return get_errinfo(); } -/*! The current exception in the current thread. - * - * Same as \c $! in Ruby. - * \return the current exception or \c Qnil - * \ingroup exception - */ VALUE rb_errinfo(void) { return GET_EC()->errinfo; } -/*! Sets the current exception (\c $!) to the given value - * - * \param[in] err an \c Exception object or \c Qnil. - * \exception TypeError if \a err is neither an exception nor \c nil. - * \note this function does not raise the exception. - * Use \c rb_raise() when you want to raise. - * \ingroup exception - */ void rb_set_errinfo(VALUE err) { -- cgit v1.2.3