| 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.

static int find_line(Interp *interpreter, struct PackFile_Debug *debug)void print_pbc_location(Parrot_Interp interpreter)PIO_STDERR.void print_pbc_location_stdio(Parrot_Interp interpreter)stderr.fprintf() only.
This may be called from exceptions.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.
|
|
|