results: correct R_END_TRY_CATCH definition

This commit is contained in:
Michael Scire 2019-06-20 00:56:33 -07:00
parent 7e0ed3b38f
commit 3274848b56

View File

@ -48,9 +48,10 @@ extern "C" {
else else
#define R_END_TRY_CATCH \ #define R_END_TRY_CATCH \
} else if (R_FAILED(_tmp_r_try_catch_rc)) { \ else if (R_FAILED(_tmp_r_try_catch_rc)) { \
return _tmp_r_try_catch_rc; \ return _tmp_r_try_catch_rc; \
} \ } \
} \
}) })
/// Evaluates an expression that returns a result, and returns the result (after evaluating a cleanup expression) if it would fail. /// Evaluates an expression that returns a result, and returns the result (after evaluating a cleanup expression) if it would fail.