From: Sandro Santilli Date: Tue, 9 Feb 2010 06:52:27 +0000 (+0000) Subject: Fix documention X-Git-Tag: 2.0.0alpha1~3264 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c07005556fdf0647326ec57f5b61bd8b8ef5014b;p=postgis Fix documention git-svn-id: http://svn.osgeo.org/postgis/trunk@5224 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/ptarray.c b/liblwgeom/ptarray.c index f9fc23ea3..097d00fe3 100644 --- a/liblwgeom/ptarray.c +++ b/liblwgeom/ptarray.c @@ -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;