BRender Technical Reference Manual:4 Data Structures (Alphabetical Reference):br_diag_warning_cbfn
Next|Prev|Up
The Call-Back Function
Specification
CBFnDiagWarning()

br_diag_warning_cbfn


The Call-Back Function

This type defines a call-back function, primarily intended for the warning member of the br_diaghandler
115 structure.

The typedef

(See brdiag.h for a precise declaration)

void br_diag_warning_cbfn(const char *) Handle warning and message

Specification


CBFnDiagWarning()

Description:
An application defined call-back function that is called upon a non-serious, unexpected failure, with a message describing the warning.

Declaration:
void BR_CALLBACK CBFnDiagWarning(const char* message)

Arguments:
const char * message

Pointer to zero terminated character string describing the warning.

Preconditions:
The diagnostic handler has been setup (BrDiagHandlerSet()
116). BRender has not necessarily completed initialisation. In a recoverable state.

Effects:
Optionally inform user of warning. Return.

Remarks:
This function is primarily intended for debugging and testing purposes. BRender does not currently generate warnings.

Example:
See stddiag.c for examples of diagnostic handler functions.

See Also:
CBFnDiagFailure()113.



Generated with CERN WebMaker