PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ rtpg_setvaluesgv_arg_init()

static rtpg_setvaluesgv_arg rtpg_setvaluesgv_arg_init ( )
static

Definition at line 1096 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().

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