Predator  [unstable] git snapshot
Data Fields
cl_init_data Struct Reference

collection of call-backs for writing various types of messages More...

#include <code_listener.h>

Data Fields

cl_print_fnc_t debug
 function to write debug messages (perhaps empty function when not debugging?)
cl_print_fnc_t warn
 function to write a warning message (may or may not be related to location currently being processed)
cl_print_fnc_t error
 function to write an error message (may or may not be related to location currently being processed)
cl_print_fnc_t note
 function to write an information message (which usually gives some extra info related to previous warning/error message)
cl_print_fnc_t die
 function to display critical error and then terminate the application
int debug_level
 debugging level, the greater number the more output, 0 means no debugging

Detailed Description

collection of call-backs for writing various types of messages

Definition at line 83 of file code_listener.h.

Field Documentation

function to write debug messages (perhaps empty function when not debugging?)

Definition at line 88 of file code_listener.h.

int debug_level

debugging level, the greater number the more output, 0 means no debugging

Definition at line 117 of file code_listener.h.

function to display critical error and then terminate the application

Attention
This function should never return (TODO: attribute?).

Definition at line 112 of file code_listener.h.

function to write an error message (may or may not be related to location currently being processed)

Definition at line 100 of file code_listener.h.

function to write an information message (which usually gives some extra info related to previous warning/error message)

Definition at line 106 of file code_listener.h.

function to write a warning message (may or may not be related to location currently being processed)

Definition at line 94 of file code_listener.h.


The documentation for this struct was generated from the following file: