Definition at line 700 of file rt_mapalgebra.c.
704 if (_param->
arg == NULL) {
705 rterror(
"_rti_iterator_arg_callback_init: Could not allocate memory for rt_iterator_arg");
718 rterror(
"_rti_iterator_arg_callback_init: Could not allocate memory for element of rt_iterator_arg");
721 memset(_param->
arg->
values, 0,
sizeof(
double **) * _param->
count);
725 for (i = 0; i < _param->
count; i++) {
729 rterror(
"_rti_iterator_arg_callback_init: Could not allocate memory for position elements of rt_iterator_arg");
void rterror(const char *fmt,...)
Wrappers used for reporting errors and info.
void * rtalloc(size_t size)
Wrappers used for managing memory.
struct _rti_iterator_arg_t::@12 dimension
References _rti_iterator_arg_t::arg, rt_iterator_arg_t::columns, _rti_iterator_arg_t::columns, _rti_iterator_arg_t::count, _rti_iterator_arg_t::dimension, rt_iterator_arg_t::dst_pixel, rt_iterator_arg_t::nodata, rt_iterator_arg_t::rasters, rt_iterator_arg_t::rows, _rti_iterator_arg_t::rows, rtalloc(), rterror(), rt_iterator_arg_t::src_pixel, and rt_iterator_arg_t::values.
Referenced by rt_raster_iterator().