[GRASS-dev] gisinit.c
Glynn Clements
glynn at gclements.plus.com
Tue Nov 24 14:44:03 EST 2009
Luis Lisboa wrote:
> I've been compiling a few functions and they are working just fine altough
> there is a reference to a gisinit.c file in programmers manual and also in
> my functions, where it initializes GIS environment (G_gisinit(argv[0]).
>
> question: In which file is this compiled or where can I change this function
> (in case I want)?
The function is in lib/gis/gisinit.c. But the function is named
G__gisinit(), with two underscores. G_gisinit() is a macro which
passes the SVN revision of gis.h as an argument (to detect the case
where a module uses a version of libgis other than the one for which
it was compiled).
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list