PostGIS  2.5.0beta1dev-r@@SVN_REVISION@@

◆ cu_errorreporter()

static void cu_errorreporter ( 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 lwerror case !!!

Definition at line 274 of file liblwgeom/cunit/cu_tester.c.

References cu_error_msg, and MAX_CUNIT_MSG_LENGTH.

Referenced by main().

275 {
276  vsnprintf (cu_error_msg, MAX_CUNIT_MSG_LENGTH, fmt, ap);
278  /*fprintf(stderr, "ERROR: %s\n", cu_error_msg);*/
279 }
#define MAX_CUNIT_MSG_LENGTH
def fmt
Definition: pixval.py:92
char cu_error_msg[MAX_CUNIT_ERROR_LENGTH+1]
Here is the caller graph for this function: