PostGIS  2.1.10dev-r@@SVN_REVISION@@
static rtpg_clip_arg rtpg_clip_arg_init ( )
static

Definition at line 18970 of file rt_pg.c.

References rtpg_clip_arg_t::band, ET_INTERSECTION, rtpg_clip_arg_t::extenttype, rtpg_clip_arg_t::mask, rtpg_clip_arg_t::numbands, and rtpg_clip_arg_t::raster.

Referenced by RASTER_clip().

18970  {
18971  rtpg_clip_arg arg = NULL;
18972 
18973  arg = palloc(sizeof(struct rtpg_clip_arg_t));
18974  if (arg == NULL) {
18975  elog(ERROR, "rtpg_clip_arg_init: Could not allocate memory for function arguments");
18976  return NULL;
18977  }
18978 
18979  arg->extenttype = ET_INTERSECTION;
18980  arg->raster = NULL;
18981  arg->mask = NULL;
18982  arg->numbands = 0;
18983  arg->band = NULL;
18984 
18985  return arg;
18986 }
rt_raster mask
Definition: rt_pg.c:18964
rt_extenttype extenttype
Definition: rt_pg.c:18962
rt_raster raster
Definition: rt_pg.c:18963
rtpg_clip_band band
Definition: rt_pg.c:18967

Here is the caller graph for this function: