PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ rterror()

void rterror ( const char *  fmt,
  ... 
)

Raster core error and info handlers.

Since variadic functions cannot pass their parameters directly, we need wrappers for these functions to convert the arguments into a va_list structure.

Definition at line 219 of file rt_context.c.

219  {
220  va_list ap;
221 
222  va_start(ap, fmt);
223 
224  /* Call the supplied function */
225  (*ctx_t.err)(fmt, ap);
226 
227  va_end(ap);
228 }
def fmt
Definition: pixval.py:94
static struct rt_context_t ctx_t
Definition: rt_context.c:124
rt_message_handler err
Definition: rt_context.c:117

References ctx_t, rt_context_t::err, and pixval::fmt.