PostGIS  2.1.10dev-r@@SVN_REVISION@@
static rtpg_setvaluesgv_arg rtpg_setvaluesgv_arg_init ( )
static

Definition at line 3746 of file rt_pg.c.

References rtpg_setvaluesgv_arg_t::gv, rtpg_setvaluesgv_arg_t::keepnodata, and rtpg_setvaluesgv_arg_t::ngv.

Referenced by RASTER_setPixelValuesGeomval().

3746  {
3747  rtpg_setvaluesgv_arg arg = palloc(sizeof(struct rtpg_setvaluesgv_arg_t));
3748  if (arg == NULL) {
3749  elog(ERROR, "rtpg_setvaluesgv_arg_init: Could not allocate memory for function arguments");
3750  return NULL;
3751  }
3752 
3753  arg->ngv = 0;
3754  arg->gv = NULL;
3755  arg->keepnodata = 0;
3756 
3757  return arg;
3758 }
rtpg_setvaluesgv_geomval gv
Definition: rt_pg.c:3731

Here is the caller graph for this function: