GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
level.c
Go to the documentation of this file.
1 
19 #include <grass/Vect.h>
20 #include <grass/glocale.h>
21 
33 int Vect_level(struct Map_info *Map)
34 {
35  if (Map->open != VECT_OPEN_CODE) {
36  if (Map->open != VECT_CLOSED_CODE)
37  G_warning("Vect_level(): %s",
38  _("Map structure was never initialized"));
39  else
40  G_warning("Vect_level(): %s", _("Map structure has been closed"));
41  return (-1);
42  }
43  return (Map->level);
44 }
int Vect_level(struct Map_info *Map)
Returns level that Map is opened at.
Definition: level.c:33
G_warning("category support for [%s] in mapset [%s] %s", name, mapset, type)
tuple Map
Definition: render.py:1310