[GRASS-dev] [GRASS GIS] #413: doxygen comments in get_row.c are wrong?

GRASS GIS trac at osgeo.org
Mon Aug 20 11:09:07 PDT 2012

#413: doxygen comments in get_row.c are wrong?
 Reporter:  karme        |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  major        |   Milestone:  6.4.3                    
Component:  Default      |     Version:  svn-releasebranch64      
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  

Comment(by glynn):

 Replying to [ticket:413 karme]:
 > Either the code in get_row.c is wrong or the the doxygen strings.

 The doxygen strings are wrong.

 > G_get_raster_row does not return 0 if the row is outside the window.

 There's no reason for higher-level code to care about what is essentially
 an implementation detail. It shouldn't matter whether the row is all-nulls
 because it's outside the array or because the stored data happens to be

Ticket URL: <http://trac.osgeo.org/grass/ticket/413#comment:2>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list