[GRASS-dev] [GRASS GIS] #1979: add a G_add_keywords(char *, ...) function
GRASS GIS
trac at osgeo.org
Sun May 26 14:38:55 PDT 2013
#1979: add a G_add_keywords(char *, ...) function
-------------------------------------+--------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: minor | Milestone: 7.0.0
Component: LibGIS | Version: svn-trunk
Keywords: G_add_keyword, keywords | Platform: All
Cpu: All |
-------------------------------------+--------------------------------------
Hi,
any reason why we don't have a G_add_keywords(const char *, va_list)
function in trunk?
thus
{{{
- G_add_keyword(_("imagery"));
- G_add_keyword(_("color transformation"));
- G_add_keyword("RGB");
- G_add_keyword("HIS");
- G_add_keyword("IHS");
+ G_add_keywords(_("imagery"), _("color transformation"), "RGB", "HIS",
"IHS");
}}}
the function could be as simple as iterating over the args and running
G_add_keyword() multiple times.
?
thanks,
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1979>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list