]> granicus.if.org Git - postgis/commitdiff
Fix parser documentation [RT-SIGTA]
authorSandro Santilli <strk@keybit.net>
Thu, 11 Aug 2011 07:50:45 +0000 (07:50 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 11 Aug 2011 07:50:45 +0000 (07:50 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7724 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/liblwgeom.h

index 9b941ff842b6ed6f60b3b1ce071f030f10026a17..ddf9e6caceacda4e9d97b9eccfb92a87b5496c7c 100644 (file)
@@ -2084,14 +2084,30 @@ LWGEOM_UNPARSER_RESULT;
 /*
 ** New parsing and unparsing functions.
 */
+
+/**
+* @param lwgeom geometry to convert to WKT
+* @param variant output format to use (WKT_ISO, WKT_SFSQL, WKT_EXTENDED)
+*/
 extern char*   lwgeom_to_wkt(const LWGEOM *geom, uchar variant, int precision, size_t *size_out);
+
+/**
+* @param lwgeom geometry to convert to WKT
+* @param variant output format to use
+*                (WKB_ISO, WKB_SFSQL, WKB_EXTENDED, WKB_NDR, WKB_XDR)
+*/
 extern uchar*  lwgeom_to_wkb(const LWGEOM *geom, uchar variant, size_t *size_out);
+
+/**
+* @param lwgeom geometry to convert to HEXWKB
+* @param variant output format to use
+*                (WKB_ISO, WKB_SFSQL, WKB_EXTENDED, WKB_NDR, WKB_XDR)
+*/
 extern char*   lwgeom_to_hexwkb(const LWGEOM *geom, uchar variant, size_t *size_out);
 
 
 /**
 * @param lwgeom geometry to convert to EWKT
-* @param flags output format to use (WKT_ISO, WKT_SFSQL, WKT_EXTENDED)
 */
 extern char *lwgeom_to_ewkt(const LWGEOM *lwgeom);