OpenGI 2.1
Easy parameterization and Geometry Image creation

Error handling

Functions for working with unexpected errors. More...

Functions

GIenum GIAPIENTRY giGetError ()
 Retrieve and clear last error.
const GIchar *GIAPIENTRY giErrorString (GIenum error)
 Get descriptive error string.
void GIAPIENTRY giErrorCallback (GIerrorcb fn, GIvoid *data)
 Set error callback function.

Detailed Description

Functions for working with unexpected errors.


Function Documentation

GIenum GIAPIENTRY giGetError ( )

Retrieve and clear last error.

Returns:
error code of last encountered error
const GIchar* GIAPIENTRY giErrorString ( GIenum  error)

Get descriptive error string.

Parameters:
errorerror code to get description for
Returns:
descriptive string for given error code
void GIAPIENTRY giErrorCallback ( GIerrorcb  fn,
GIvoid data 
)

Set error callback function.

Parameters:
fnfunction to use
datauser data
 All Files Functions Typedefs Defines