[GRASS-SVN] r68560 - grass/trunk/lib/raster
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jun 1 10:06:35 PDT 2016
Author: wenzeslaus
Date: 2016-06-01 10:06:34 -0700 (Wed, 01 Jun 2016)
New Revision: 68560
Modified:
grass/trunk/lib/raster/raster.c
Log:
rasterlib: docs for Rast_raster_cpy function
Modified: grass/trunk/lib/raster/raster.c
===================================================================
--- grass/trunk/lib/raster/raster.c 2016-06-01 15:58:09 UTC (rev 68559)
+++ grass/trunk/lib/raster/raster.c 2016-06-01 17:06:34 UTC (rev 68560)
@@ -67,10 +67,13 @@
/*!
* \brief Copies raster values.
*
- * If v2 is null value, sets v2 to null value.
+ * If \p v2 is null value, sets \p v2 to null value.
+ * \p n is typically size of the destination array
+ * and the source array is at least that large.
*
- * \param v1, v2 raster values
- * \param n ?
+ * \param v1 destination array for raster values
+ * \param v2 source array with raster values
+ * \param n number of values to copy
* \param data_type raster type (CELL, FCELL, DCELL)
*/
void Rast_raster_cpy(void *v1, const void *v2, int n,
More information about the grass-commit
mailing list