PostGIS  3.4.0dev-r@@SVN_REVISION@@
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages

◆ 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 279 of file liblwgeom/cunit/cu_tester.c.

280 {
281  vsnprintf (cu_error_msg, MAX_CUNIT_MSG_LENGTH, fmt, ap);
283  /*fprintf(stderr, "ERROR: %s\n", cu_error_msg);*/
284 }
#define MAX_CUNIT_MSG_LENGTH
char cu_error_msg[MAX_CUNIT_ERROR_LENGTH+1]
def fmt
Definition: pixval.py:93

References cu_error_msg, pixval::fmt, and MAX_CUNIT_MSG_LENGTH.

Referenced by main().

Here is the caller graph for this function: