[GRASS-SVN] r52604 - in grass/trunk/lib: bitmap gis raster3d vector/Vlib vector/neta vector/vedit

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 9 01:13:15 PDT 2012


Author: neteler
Date: 2012-08-09 01:13:14 -0700 (Thu, 09 Aug 2012)
New Revision: 52604

Modified:
   grass/trunk/lib/bitmap/bitmap.c
   grass/trunk/lib/gis/alloc.c
   grass/trunk/lib/gis/asprintf.c
   grass/trunk/lib/raster3d/alloc.c
   grass/trunk/lib/vector/Vlib/ascii.c
   grass/trunk/lib/vector/Vlib/buffer2.c
   grass/trunk/lib/vector/neta/bridge.c
   grass/trunk/lib/vector/vedit/break.c
Log:
fix some doxygen warnings

Modified: grass/trunk/lib/bitmap/bitmap.c
===================================================================
--- grass/trunk/lib/bitmap/bitmap.c	2012-08-09 07:36:19 UTC (rev 52603)
+++ grass/trunk/lib/bitmap/bitmap.c	2012-08-09 08:13:14 UTC (rev 52604)
@@ -84,7 +84,7 @@
 /*!
  * \brief Destroy bitmap and free all associated memory
  *
- *  \param struct BM *map
+ *  \param map
  *  \return int returns 0
  */
 int BM_destroy(struct BM *map)
@@ -141,8 +141,8 @@
  *
  * returns 0 on success or -1 on error
  *
- *  \param int mode
- *  \param int size
+ *  \param mode
+ *  \param size
  *  \return int
  */
 

Modified: grass/trunk/lib/gis/alloc.c
===================================================================
--- grass/trunk/lib/gis/alloc.c	2012-08-09 07:36:19 UTC (rev 52603)
+++ grass/trunk/lib/gis/alloc.c	2012-08-09 08:13:14 UTC (rev 52604)
@@ -26,7 +26,7 @@
  *
  * \param file file name
  * \param line line number
- * \param t number of elements
+ * \param n number of elements
  */
 
 void *G__malloc(const char *file, int line, size_t n)

Modified: grass/trunk/lib/gis/asprintf.c
===================================================================
--- grass/trunk/lib/gis/asprintf.c	2012-08-09 07:36:19 UTC (rev 52603)
+++ grass/trunk/lib/gis/asprintf.c	2012-08-09 08:13:14 UTC (rev 52604)
@@ -36,6 +36,7 @@
  *
  * \param[out] out
  * \param[in] fmt
+ * \param ap
  * \return number of bytes written
  */
 
@@ -88,8 +89,9 @@
  * times in a loop.
  *
  * \param[out] out
- * \param[out] size
+ * \param[out] osize
  * \param[in] fmt
+ * \param ap
  * \return number of bytes written
  */
 

Modified: grass/trunk/lib/raster3d/alloc.c
===================================================================
--- grass/trunk/lib/raster3d/alloc.c	2012-08-09 07:36:19 UTC (rev 52603)
+++ grass/trunk/lib/raster3d/alloc.c	2012-08-09 08:13:14 UTC (rev 52604)
@@ -64,7 +64,7 @@
  *
  *  Same as <em>free (ptr)</em>.
  *
- *  \param ptr
+ *  \param buf
  *  \return void
  */
 

Modified: grass/trunk/lib/vector/Vlib/ascii.c
===================================================================
--- grass/trunk/lib/vector/Vlib/ascii.c	2012-08-09 07:36:19 UTC (rev 52603)
+++ grass/trunk/lib/vector/Vlib/ascii.c	2012-08-09 08:13:14 UTC (rev 52604)
@@ -283,7 +283,8 @@
 /*!
   \brief Write data to GRASS ASCII vector format
 
-  \param dascii pointer to the ASCII file
+  \param ascii  pointer to the ASCII file
+  \param att    att file (< version 5 only)
   \param Map    pointer to Map_info structure
   \param ver    version number 4 or 5
   \param format format GV_ASCII_FORMAT_POINT or GV_ASCII_FORMAT_STD

Modified: grass/trunk/lib/vector/Vlib/buffer2.c
===================================================================
--- grass/trunk/lib/vector/Vlib/buffer2.c	2012-08-09 07:36:19 UTC (rev 52603)
+++ grass/trunk/lib/vector/Vlib/buffer2.c	2012-08-09 08:13:14 UTC (rev 52604)
@@ -984,7 +984,7 @@
 
    See also Vect_line_buffer().
 
-   \param InPoints input line geometry
+   \param Points input line geometry
    \param da distance along major axis
    \param db distance along minor axis
    \param dalpha angle between 0x and major axis
@@ -1119,11 +1119,11 @@
    \param px input point x-coordinate
    \param py input point y-coordinate
    \param da distance along major axis
-   \param da distance along minor axis
+   \param db distance along minor axis
    \param dalpha angle between 0x and major axis
    \param round make corners round
    \param tol maximum distance between theoretical arc and output segments
-   \param[out] nPoints output polygon outer border (ccw order)
+   \param[out] oPoints output polygon outer border (ccw order)
  */
 void Vect_point_buffer2(double px, double py, double da, double db,
 			double dalpha, int round, double tol,

Modified: grass/trunk/lib/vector/neta/bridge.c
===================================================================
--- grass/trunk/lib/vector/neta/bridge.c	2012-08-09 07:36:19 UTC (rev 52603)
+++ grass/trunk/lib/vector/neta/bridge.c	2012-08-09 08:13:14 UTC (rev 52604)
@@ -26,10 +26,9 @@
    Bridge is an array containing the indices of the bridges.
 
    \param graph input graph
-   \param[out] bridges_list list of bridges
+   \param[out] bridge_list list of bridges
 
-   \return number of bridges
-   \return -1 on error
+   \return number of bridges, -1 on error
  */
 int NetA_compute_bridges(dglGraph_s * graph, struct ilist *bridge_list)
 {

Modified: grass/trunk/lib/vector/vedit/break.c
===================================================================
--- grass/trunk/lib/vector/vedit/break.c	2012-08-09 07:36:19 UTC (rev 52603)
+++ grass/trunk/lib/vector/vedit/break.c	2012-08-09 08:13:14 UTC (rev 52604)
@@ -23,6 +23,7 @@
   \param Map pointer to Map_info
   \param List list of selected lines
   \param coord points location
+  \param thresh threshold
   \param[out] List_updated list of rewritten features (or NULL)
   
   \return number of modified lines



More information about the grass-commit mailing list