PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ cu_error_reporter()

static void cu_error_reporter ( const char *  fmt,
va_list  ap 
)
static

CUnit error handler Log message in a global var instead of printing in stderr.

CAUTION: Not stop execution on rterror case !!!

Definition at line 202 of file raster/test/cunit/cu_tester.c.

202 {
203 vsnprintf (cu_error_msg, MAX_CUNIT_MSG_LENGTH, fmt, ap);
205}
#define MAX_CUNIT_MSG_LENGTH
char cu_error_msg[MAX_CUNIT_MSG_LENGTH+1]

References cu_error_msg, and MAX_CUNIT_MSG_LENGTH.

Referenced by main().

Here is the caller graph for this function: