PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ rtpg_setvaluesgv_arg_init()

static rtpg_setvaluesgv_arg rtpg_setvaluesgv_arg_init ( )
static

Definition at line 1095 of file rtpg_pixel.c.

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

Referenced by RASTER_setPixelValuesGeomval().

1095  {
1096  rtpg_setvaluesgv_arg arg = palloc(sizeof(struct rtpg_setvaluesgv_arg_t));
1097  if (arg == NULL) {
1098  elog(ERROR, "rtpg_setvaluesgv_arg_init: Could not allocate memory for function arguments");
1099  return NULL;
1100  }
1101 
1102  arg->ngv = 0;
1103  arg->gv = NULL;
1104  arg->keepnodata = 0;
1105 
1106  return arg;
1107 }
rtpg_setvaluesgv_geomval gv
Definition: rtpg_pixel.c:1080
Here is the caller graph for this function: