19 #include <grass/Vect.h>
20 #include <grass/glocale.h>
35 if (Map->open != VECT_OPEN_CODE) {
36 if (Map->open != VECT_CLOSED_CODE)
38 _(
"Map structure was never initialized"));
40 G_warning(
"Vect_level(): %s", _(
"Map structure has been closed"));
int Vect_level(struct Map_info *Map)
Returns level that Map is opened at.
int G_warning(const char *msg,...)
Print a warning message to stderr.