PostGIS  2.1.10dev-r@@SVN_REVISION@@
void rterror ( const char *  fmt,
  ... 
)

Raster core error and info handlers.

Wrappers used for reporting errors and info.

Since variadic functions cannot pass their parameters directly, we need wrappers for these functions to convert the arguments into a va_list structure.

Definition at line 895 of file rt_api.c.

References rt_context_t::err.

Referenced by _rti_colormap_arg_init(), _rti_iterator_arg_callback_init(), _rti_iterator_arg_empty_init(), _rti_iterator_arg_init(), _rti_iterator_arg_populate(), _rti_raster_get_band_perimeter(), _rti_rasterize_arg_init(), _rti_warp_arg_init(), add_overview_constraints(), add_raster_constraints(), analyze_table(), append_stringbuffer(), build_overview(), chartrim(), convert_raster(), copy_from(), copy_rastinfo(), create_index(), create_table(), diff_rastinfo(), drop_table(), insert_records(), main(), process_rasters(), rt_band_check_is_nodata(), rt_band_corrected_clamped_value(), rt_band_duplicate(), rt_band_from_wkb(), rt_band_get_histogram(), rt_band_get_nearest_pixel(), rt_band_get_nodata(), rt_band_get_pixel(), rt_band_get_pixel_line(), rt_band_get_pixel_of_value(), rt_band_get_quantiles(), rt_band_get_quantiles_stream(), rt_band_get_summary_stats(), rt_band_get_value_count(), rt_band_load_offline_data(), rt_band_new_inline(), rt_band_new_offline(), rt_band_reclass(), rt_band_set_isnodata_flag(), rt_band_set_nodata(), rt_band_set_pixel(), rt_band_set_pixel_line(), rt_pixel_set_to_array(), rt_pixtype_compare_clamped_values(), rt_pixtype_get_min_value(), rt_pixtype_name(), rt_pixtype_size(), rt_raster_add_band(), rt_raster_clone(), rt_raster_colormap(), rt_raster_compute_skewed_raster(), rt_raster_deserialize(), rt_raster_from_band(), rt_raster_from_gdal_dataset(), rt_raster_from_hexwkb(), rt_raster_from_two_rasters(), rt_raster_from_wkb(), rt_raster_fully_within_distance(), rt_raster_gdal_drivers(), rt_raster_gdal_polygonize(), rt_raster_gdal_rasterize(), rt_raster_gdal_warp(), rt_raster_generate_new_band(), rt_raster_geopoint_to_cell(), rt_raster_geos_spatial_relationship(), rt_raster_get_convex_hull(), rt_raster_get_envelope(), rt_raster_get_inverse_geotransform_matrix(), rt_raster_get_perimeter(), rt_raster_intersects(), rt_raster_iterator(), rt_raster_new(), rt_raster_replace_band(), rt_raster_same_alignment(), rt_raster_serialize(), rt_raster_serialized_size(), rt_raster_surface(), rt_raster_to_gdal(), rt_raster_to_gdal_mem(), rt_raster_to_hexwkb(), rt_raster_to_wkb(), rt_raster_within_distance(), rt_raster_wkb_size(), rt_util_envelope_to_lwpoly(), rt_util_gdal_convert_sr(), rt_util_gdal_open(), rt_util_gdal_sr_auth_info(), strreplace(), strsplit(), trim(), and vacuum_table().

895  {
896  va_list ap;
897 
898  va_start(ap, fmt);
899 
900  /* Call the supplied function */
901  (*ctx_t.err)(fmt, ap);
902 
903  va_end(ap);
904 }
tuple fmt
Definition: pixval.py:92
static struct rt_context_t ctx_t
Definition: rt_api.c:813
rt_message_handler err
Definition: rt_api.c:807