[GRASS-SVN] r47942 - grass/trunk/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 29 12:27:30 EDT 2011
Author: martinl
Date: 2011-08-29 09:27:30 -0700 (Mon, 29 Aug 2011)
New Revision: 47942
Modified:
grass/trunk/lib/gis/get_projinfo.c
Log:
gislib: update doxygen docs for get_projinfo.c
Modified: grass/trunk/lib/gis/get_projinfo.c
===================================================================
--- grass/trunk/lib/gis/get_projinfo.c 2011-08-29 15:14:53 UTC (rev 47941)
+++ grass/trunk/lib/gis/get_projinfo.c 2011-08-29 16:27:30 UTC (rev 47942)
@@ -1,15 +1,13 @@
/*!
- * \file get_projinfo.c
- *
- * \brief GIS Library - Get projection info
- *
- * (C) 1999-2008 by the GRASS Development Team
- *
- * This program is free software under the GNU General Public
- * License (>=v2). Read the file COPYING that comes with GRASS
- * for details.
- *
- */
+ \file lib/gis/get_projinfo.c
+
+ \brief GIS Library - Get projection info
+
+ (C) 1999-2008, 2011 by the GRASS Development Team
+
+ This program is free software under the GNU General Public License
+ (>=v2). Read the file COPYING that comes with GRASS for details.
+*/
#include <unistd.h>
#include <grass/gis.h>
@@ -18,10 +16,13 @@
#define PERMANENT "PERMANENT"
/*!
- * \brief Gets unit information for location
- *
- * \return pointer to Key_Value structure with key/value pairs
- */
+ \brief Gets units information for location
+
+ Note: Allocated Key_Value structure should be freed by
+ G_free_key_value().
+
+ \return pointer to Key_Value structure with key/value pairs
+*/
struct Key_Value *G_get_projunits(void)
{
struct Key_Value *in_units_keys;
@@ -41,10 +42,13 @@
}
/*!
- * \brief Gets projection information for location
- *
- * \return pointer to Key_Value structure with key/value pairs
- */
+ \brief Gets projection information for location
+
+ Note: Allocated Key_Value structure should be freed by
+ G_free_key_value().
+
+ \return pointer to Key_Value structure with key/value pairs
+*/
struct Key_Value *G_get_projinfo(void)
{
struct Key_Value *in_proj_keys;
More information about the grass-commit
mailing list