PostGIS  2.1.10dev-r@@SVN_REVISION@@
static rtpg_dumpvalues_arg rtpg_dumpvalues_arg_init ( )
static

Definition at line 2804 of file rt_pg.c.

References rtpg_dumpvalues_arg_t::columns, rtpg_dumpvalues_arg_t::nbands, rtpg_dumpvalues_arg_t::nodata, rtpg_dumpvalues_arg_t::numbands, rtpg_dumpvalues_arg_t::rows, and rtpg_dumpvalues_arg_t::values.

Referenced by RASTER_dumpValues().

2804  {
2805  rtpg_dumpvalues_arg arg = NULL;
2806 
2807  arg = palloc(sizeof(struct rtpg_dumpvalues_arg_t));
2808  if (arg == NULL) {
2809  elog(ERROR, "rtpg_dumpvalues_arg_init: Could not allocate memory for arguments");
2810  return NULL;
2811  }
2812 
2813  arg->numbands = 0;
2814  arg->rows = 0;
2815  arg->columns = 0;
2816 
2817  arg->nbands = NULL;
2818  arg->values = NULL;
2819  arg->nodata = NULL;
2820 
2821  return arg;
2822 }

Here is the caller graph for this function: