PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ rt_band_get_ownsdata_flag()

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 659 of file rt_band.c.

659  {
660  assert(NULL != band);
661 
662  return band->ownsdata ? 1 : 0;
663 }
band
Definition: ovdump.py:57

References ovdump::band.

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

Here is the caller graph for this function: