PostGIS  2.1.10dev-r@@SVN_REVISION@@
static _rti_rasterize_arg _rti_rasterize_arg_init ( )
static

Definition at line 10550 of file rt_api.c.

References _rti_rasterize_arg_t::bandlist, _rti_rasterize_arg_t::hasnodata, _rti_rasterize_arg_t::init, _rti_rasterize_arg_t::noband, _rti_rasterize_arg_t::nodata, _rti_rasterize_arg_t::numbands, _rti_rasterize_arg_t::pixtype, rtalloc(), rterror(), and _rti_rasterize_arg_t::value.

Referenced by rt_raster_gdal_rasterize().

10550  {
10551  _rti_rasterize_arg arg = NULL;
10552 
10553  arg = rtalloc(sizeof(struct _rti_rasterize_arg_t));
10554  if (arg == NULL) {
10555  rterror("_rti_rasterize_arg_init: Could not allocate memory for _rti_rasterize_arg");
10556  return NULL;
10557  }
10558 
10559  arg->noband = 0;
10560 
10561  arg->numbands = 0;
10562  arg->pixtype = NULL;
10563  arg->init = NULL;
10564  arg->nodata = NULL;
10565  arg->hasnodata = NULL;
10566  arg->value = NULL;
10567  arg->bandlist = NULL;
10568 
10569  return arg;
10570 }
rt_pixtype * pixtype
Definition: rt_api.c:10541
void * rtalloc(size_t size)
Raster core memory management functions.
Definition: rt_api.c:867
void rterror(const char *fmt,...)
Raster core error and info handlers.
Definition: rt_api.c:895
uint8_t * hasnodata
Definition: rt_api.c:10544

Here is the call graph for this function:

Here is the caller graph for this function: