]> granicus.if.org Git - postgis/commitdiff
Fix documention
authorSandro Santilli <strk@keybit.net>
Tue, 9 Feb 2010 06:52:27 +0000 (06:52 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 9 Feb 2010 06:52:27 +0000 (06:52 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5224 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/ptarray.c

index f9fc23ea3f6fd9f2afd935ce99b40d3ed7c6e67f..097d00fe300a01a26694894167fd2cb0ff3c53a0 100644 (file)
@@ -249,10 +249,10 @@ ptarray_same(const POINTARRAY *pa1, const POINTARRAY *pa2)
 /**
  * @brief Add a point in a pointarray.
  *             'where' is the offset (starting at 0)
- *             if 'where' == -1 append is required.
+ *             if 'where' == pa->npoints,  append is performed.
  */
 POINTARRAY *
-ptarray_addPoint(POINTARRAY *pa, uchar *p, size_t pdims, unsigned int where)
+ptarray_addPoint(const POINTARRAY *pa, uchar *p, size_t pdims, unsigned int where)
 {
        POINTARRAY *ret;
        POINT4D pbuf;