GRASS GIS 8 Programmer's Manual  8.5.0dev(2025)-565e82de51
G.h
Go to the documentation of this file.
1 #include <grass/config.h>
2 #include <grass/gis.h>
3 
4 #ifdef GRASS_CMAKE_BUILD
5 #include <export/grass_gis_export.h>
6 #else
7 #define GRASS_GIS_EXPORT
8 #endif
9 
10 struct G__ /* Structure of library globals */
11 {
12  struct Cell_head window; /* Contains the current window */
13  int window_set; /* Flag: window set? */
14  int little_endian; /* Flag denoting little-endian architecture */
15  int compression_level; /* zlib compression level */
16 };
17 
18 GRASS_GIS_EXPORT extern struct G__ G__; /* allocated in gisinit */
#define GRASS_GIS_EXPORT
Definition: G.h:7
2D/3D raster map header (used also for region)
Definition: gis.h:441
Definition: G.h:11
int compression_level
Definition: G.h:15
int little_endian
Definition: G.h:14
int window_set
Definition: G.h:13
struct Cell_head window
Definition: G.h:12