PostGIS  2.1.10dev-r@@SVN_REVISION@@
int rt_band_get_ownsdata_flag ( rt_band  band)

Return 0 (FALSE) or non-zero (TRUE) indicating if rt_band is responsible for managing the memory for band data.

Parameters
band: the band
Returns
non-zero indicates that rt_band manages the memory allocated for band data

Definition at line 1928 of file rt_api.c.

References rt_band_t::ownsdata.

Referenced by raster_destroy(), test_band_metadata(), test_band_pixtype_16BSI(), test_band_pixtype_16BUI(), test_band_pixtype_1BB(), test_band_pixtype_2BUI(), test_band_pixtype_32BF(), test_band_pixtype_32BSI(), test_band_pixtype_32BUI(), test_band_pixtype_4BUI(), test_band_pixtype_64BF(), test_band_pixtype_8BSI(), and test_band_pixtype_8BUI().

1928  {
1929  assert(NULL != band);
1930 
1931  return band->ownsdata ? 1 : 0;
1932 }
int8_t ownsdata
Definition: rt_api.h:2247

Here is the caller graph for this function: