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

GRASS GIS trac at osgeo.org
Wed May 7 01:18:33 PDT 2014


#413: doxygen comments in get_row.c are wrong?
---------------------+------------------------------------------------------
  Reporter:  karme   |       Owner:  grass-dev@…                
      Type:  defect  |      Status:  closed                     
  Priority:  major   |   Milestone:  6.4.4                      
 Component:  LibGIS  |     Version:  svn-releasebranch64        
Resolution:  fixed   |    Keywords:  G_get_raster_row(), doxygen
  Platform:  All     |         Cpu:  All                        
---------------------+------------------------------------------------------
Changes (by mlennert):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Replying to [comment:5 glynn]:
 > Replying to [comment:4 mlennert]:
 >
 > > IIUC, return values are either 1 or -1, so just erasing the line in
 the comments mentioning "return 0" should be enough ?
 >
 > Right.
 >
 > The internal functions compute_window_row() and get_map_row_nomask()
 return 0 if the row is outside of the map's data, but that detail doesn't
 propagate up to any of the documented public functions.

 Correction of doxygen comment committed to devel6 (r60143) and rel64
 (r60144).

 Closing the bug.

 Moritz

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



More information about the grass-dev mailing list