PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ rtpg_dumpvalues_arg_init()

static rtpg_dumpvalues_arg rtpg_dumpvalues_arg_init ( )
static

Definition at line 352 of file rtpg_pixel.c.

352 {
353 rtpg_dumpvalues_arg arg = NULL;
354
355 arg = palloc(sizeof(struct rtpg_dumpvalues_arg_t));
356 if (arg == NULL) {
357 elog(ERROR, "rtpg_dumpvalues_arg_init: Could not allocate memory for arguments");
358 return NULL;
359 }
360
361 arg->numbands = 0;
362 arg->rows = 0;
363 arg->columns = 0;
364
365 arg->nbands = NULL;
366 arg->values = NULL;
367 arg->nodata = NULL;
368
369 return arg;
370}

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().

Here is the caller graph for this function: