Displaying 1 result from an estimated 1 matches for "r_inwarning".
Did you mean:
inwarning
2005 Oct 17
1
RFC: API to allow identification of warnings and errors in the output stream
...vely safe,
however. Such indications can easily be set/unset at entry/exit points of the
corresponding functions, as long as there are separate handlers for warnings,
errors, and printWarnings. I guess this is not likely to ever change
fundamentally.
As a slightly safer variation, R_inError (), R_inWarning (), and
R_inPrintWarnings () could return a boolean indication only, instead of the
int-code, which might be more subject to change.
Description of and rationale for patch B:
Patch B probably helps a lot to illustrate, how patch A works, and how this is
useful. It adds an example to tests/embed...