parrotcode: Warning and error reporting | |
Contents | C |
src/warnings.c - Warning and error reporting
Parrot STRING
and C string versions of a function to print warning/error messages.
void print_pbc_location(Parrot_Interp interpreter)
PIO_STDERR
.static INTVAL print_warning(Interp *interpreter, STRING *msg)
INTVAL Parrot_warn(Interp *interpreter, INTVAL warnclass, const char *message, ...)
message, ..
can be a Parrot_vsprintf_c()
format with arguments.INTVAL Parrot_warn_s(Interp *interpreter, INTVAL warnclass, STRING *message, ...)
STRING
warning/error reporter.message, ..
can be a Parrot_vsprintf_s()
format with arguments.include/parrot/warnings.h.
Hey! The above document had some coding errors, which are explained below:
|