'''Wrapper for gis.h

Generated with:
./ctypesgen.py --cpp gcc -E -I/c/OSGeo4W32/include -D_FILE_OFFSET_BITS=64      -I/usr/src/grass79/dist.i386-w64-mingw32/include -I/usr/src/grass79/dist.i386-w64-mingw32/include -D__GLIBC_HAVE_LONG_LONG -lgrass_gis.7.9 -lintl-8 C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/gis.h C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/colors.h C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/colors.h -o OBJ.i386-w64-mingw32/gis.py

Do not modify this file.
'''

__docformat__ = 'restructuredtext'


_libs = {}
_libdirs = []

from .ctypes_preamble import *
from .ctypes_preamble import _variadic_function
from .ctypes_loader import *

add_library_search_dirs([])

# Begin libraries

_libs["grass_gis.7.9"] = load_library("grass_gis.7.9")
_libs["intl-8"] = load_library("intl-8")

# 2 libraries
# End libraries

# No modules

__time32_t = c_long # C:/msys32/mingw32/i686-w64-mingw32/include/corecrt.h: 123

# C:/msys32/mingw32/i686-w64-mingw32/include/stdio.h: 24
class struct__iobuf(Structure):
    pass

struct__iobuf.__slots__ = [
    '_ptr',
    '_cnt',
    '_base',
    '_flag',
    '_file',
    '_charbuf',
    '_bufsiz',
    '_tmpfname',
]
struct__iobuf._fields_ = [
    ('_ptr', String),
    ('_cnt', c_int),
    ('_base', String),
    ('_flag', c_int),
    ('_file', c_int),
    ('_charbuf', c_int),
    ('_bufsiz', c_int),
    ('_tmpfname', String),
]

FILE = struct__iobuf # C:/msys32/mingw32/i686-w64-mingw32/include/stdio.h: 34

off_t = c_int64 # C:/msys32/mingw32/i686-w64-mingw32/include/_mingw_off_t.h: 24

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/datetime.h: 27
class struct_DateTime(Structure):
    pass

struct_DateTime.__slots__ = [
    'mode',
    '_from',
    'to',
    'fracsec',
    'year',
    'month',
    'day',
    'hour',
    'minute',
    'second',
    'positive',
    'tz',
]
struct_DateTime._fields_ = [
    ('mode', c_int),
    ('_from', c_int),
    ('to', c_int),
    ('fracsec', c_int),
    ('year', c_int),
    ('month', c_int),
    ('day', c_int),
    ('hour', c_int),
    ('minute', c_int),
    ('second', c_double),
    ('positive', c_int),
    ('tz', c_int),
]

DateTime = struct_DateTime # C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/datetime.h: 27

enum_anon_2 = c_int # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_UNDEFINED = 0 # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_DB_SQL = (G_OPT_UNDEFINED + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_DB_WHERE = (G_OPT_DB_SQL + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_DB_TABLE = (G_OPT_DB_WHERE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_DB_DRIVER = (G_OPT_DB_TABLE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_DB_DATABASE = (G_OPT_DB_DRIVER + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_DB_SCHEMA = (G_OPT_DB_DATABASE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_DB_COLUMN = (G_OPT_DB_SCHEMA + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_DB_COLUMNS = (G_OPT_DB_COLUMN + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_DB_KEYCOLUMN = (G_OPT_DB_COLUMNS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_I_GROUP = (G_OPT_DB_KEYCOLUMN + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_I_SUBGROUP = (G_OPT_I_GROUP + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_MEMORYMB = (G_OPT_I_SUBGROUP + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R_INPUT = (G_OPT_MEMORYMB + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R_INPUTS = (G_OPT_R_INPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R_OUTPUT = (G_OPT_R_INPUTS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R_OUTPUTS = (G_OPT_R_OUTPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R_MAP = (G_OPT_R_OUTPUTS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R_MAPS = (G_OPT_R_MAP + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R_BASE = (G_OPT_R_MAPS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R_COVER = (G_OPT_R_BASE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R_ELEV = (G_OPT_R_COVER + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R_ELEVS = (G_OPT_R_ELEV + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R_TYPE = (G_OPT_R_ELEVS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R_INTERP_TYPE = (G_OPT_R_TYPE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R_BASENAME_INPUT = (G_OPT_R_INTERP_TYPE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R_BASENAME_OUTPUT = (G_OPT_R_BASENAME_INPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R3_INPUT = (G_OPT_R_BASENAME_OUTPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R3_INPUTS = (G_OPT_R3_INPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R3_OUTPUT = (G_OPT_R3_INPUTS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R3_MAP = (G_OPT_R3_OUTPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R3_MAPS = (G_OPT_R3_MAP + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R3_TYPE = (G_OPT_R3_MAPS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R3_PRECISION = (G_OPT_R3_TYPE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R3_TILE_DIMENSION = (G_OPT_R3_PRECISION + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_R3_COMPRESSION = (G_OPT_R3_TILE_DIMENSION + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_V_INPUT = (G_OPT_R3_COMPRESSION + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_V_INPUTS = (G_OPT_V_INPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_V_OUTPUT = (G_OPT_V_INPUTS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_V_MAP = (G_OPT_V_OUTPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_V_MAPS = (G_OPT_V_MAP + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_V_TYPE = (G_OPT_V_MAPS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_V3_TYPE = (G_OPT_V_TYPE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_V_FIELD = (G_OPT_V3_TYPE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_V_FIELD_ALL = (G_OPT_V_FIELD + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_V_CAT = (G_OPT_V_FIELD_ALL + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_V_CATS = (G_OPT_V_CAT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_V_ID = (G_OPT_V_CATS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_V_IDS = (G_OPT_V_ID + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_F_INPUT = (G_OPT_V_IDS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_F_BIN_INPUT = (G_OPT_F_INPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_F_OUTPUT = (G_OPT_F_BIN_INPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_F_SEP = (G_OPT_F_OUTPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_C = (G_OPT_F_SEP + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_CN = (G_OPT_C + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_M_UNITS = (G_OPT_CN + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_M_DATATYPE = (G_OPT_M_UNITS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_M_MAPSET = (G_OPT_M_DATATYPE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_M_LOCATION = (G_OPT_M_MAPSET + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_M_DBASE = (G_OPT_M_LOCATION + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_M_COORDS = (G_OPT_M_DBASE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_M_COLR = (G_OPT_M_COORDS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_M_DIR = (G_OPT_M_COLR + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_M_REGION = (G_OPT_M_DIR + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_M_NULL_VALUE = (G_OPT_M_REGION + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_STDS_INPUT = (G_OPT_M_NULL_VALUE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_STDS_INPUTS = (G_OPT_STDS_INPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_STDS_OUTPUT = (G_OPT_STDS_INPUTS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_STRDS_INPUT = (G_OPT_STDS_OUTPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_STRDS_INPUTS = (G_OPT_STRDS_INPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_STRDS_OUTPUT = (G_OPT_STRDS_INPUTS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_STRDS_OUTPUTS = (G_OPT_STRDS_OUTPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_STR3DS_INPUT = (G_OPT_STRDS_OUTPUTS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_STR3DS_INPUTS = (G_OPT_STR3DS_INPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_STR3DS_OUTPUT = (G_OPT_STR3DS_INPUTS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_STVDS_INPUT = (G_OPT_STR3DS_OUTPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_STVDS_INPUTS = (G_OPT_STVDS_INPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_STVDS_OUTPUT = (G_OPT_STVDS_INPUTS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_MAP_INPUT = (G_OPT_STVDS_OUTPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_MAP_INPUTS = (G_OPT_MAP_INPUT + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_STDS_TYPE = (G_OPT_MAP_INPUTS + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_MAP_TYPE = (G_OPT_STDS_TYPE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_T_TYPE = (G_OPT_MAP_TYPE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_T_WHERE = (G_OPT_T_TYPE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

G_OPT_T_SAMPLE = (G_OPT_T_WHERE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

STD_OPT = enum_anon_2 # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 327

enum_anon_3 = c_int # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 343

G_FLG_UNDEFINED = 0 # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 343

G_FLG_V_TABLE = (G_FLG_UNDEFINED + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 343

G_FLG_V_TOPO = (G_FLG_V_TABLE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 343

STD_FLG = enum_anon_3 # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 343

enum_rule_type = c_int # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 346

RULE_EXCLUSIVE = 0 # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 346

RULE_REQUIRED = (RULE_EXCLUSIVE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 346

RULE_REQUIRES = (RULE_REQUIRED + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 346

RULE_REQUIRES_ALL = (RULE_REQUIRES + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 346

RULE_EXCLUDES = (RULE_REQUIRES_ALL + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 346

RULE_COLLECTIVE = (RULE_EXCLUDES + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 346

enum_anon_4 = c_int # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 393

G_ELEMENT_RASTER = 1 # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 393

G_ELEMENT_RASTER3D = 2 # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 393

G_ELEMENT_VECTOR = 3 # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 393

G_ELEMENT_ASCIIVECTOR = 4 # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 393

G_ELEMENT_LABEL = 5 # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 393

G_ELEMENT_REGION = 6 # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 393

G_ELEMENT_GROUP = 7 # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 393

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 409
class struct_Cell_head(Structure):
    pass

struct_Cell_head.__slots__ = [
    'format',
    'compressed',
    'rows',
    'rows3',
    'cols',
    'cols3',
    'depths',
    'proj',
    'zone',
    'ew_res',
    'ew_res3',
    'ns_res',
    'ns_res3',
    'tb_res',
    'north',
    'south',
    'east',
    'west',
    'top',
    'bottom',
]
struct_Cell_head._fields_ = [
    ('format', c_int),
    ('compressed', c_int),
    ('rows', c_int),
    ('rows3', c_int),
    ('cols', c_int),
    ('cols3', c_int),
    ('depths', c_int),
    ('proj', c_int),
    ('zone', c_int),
    ('ew_res', c_double),
    ('ew_res3', c_double),
    ('ns_res', c_double),
    ('ns_res3', c_double),
    ('tb_res', c_double),
    ('north', c_double),
    ('south', c_double),
    ('east', c_double),
    ('west', c_double),
    ('top', c_double),
    ('bottom', c_double),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 471
class struct_G_3dview(Structure):
    pass

struct_G_3dview.__slots__ = [
    'pgm_id',
    'from_to',
    'fov',
    'twist',
    'exag',
    'mesh_freq',
    'poly_freq',
    'display_type',
    'lightson',
    'dozero',
    'colorgrid',
    'shading',
    'fringe',
    'surfonly',
    'doavg',
    'grid_col',
    'bg_col',
    'other_col',
    'lightpos',
    'lightcol',
    'ambient',
    'shine',
    'vwin',
]
struct_G_3dview._fields_ = [
    ('pgm_id', c_char * 40),
    ('from_to', (c_float * 3) * 2),
    ('fov', c_float),
    ('twist', c_float),
    ('exag', c_float),
    ('mesh_freq', c_int),
    ('poly_freq', c_int),
    ('display_type', c_int),
    ('lightson', c_int),
    ('dozero', c_int),
    ('colorgrid', c_int),
    ('shading', c_int),
    ('fringe', c_int),
    ('surfonly', c_int),
    ('doavg', c_int),
    ('grid_col', c_char * 40),
    ('bg_col', c_char * 40),
    ('other_col', c_char * 40),
    ('lightpos', c_float * 4),
    ('lightcol', c_float * 3),
    ('ambient', c_float),
    ('shine', c_float),
    ('vwin', struct_Cell_head),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 498
class struct_Key_Value(Structure):
    pass

struct_Key_Value.__slots__ = [
    'nitems',
    'nalloc',
    'key',
    'value',
]
struct_Key_Value._fields_ = [
    ('nitems', c_int),
    ('nalloc', c_int),
    ('key', POINTER(POINTER(c_char))),
    ('value', POINTER(POINTER(c_char))),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 528
class struct_Option(Structure):
    pass

struct_Option.__slots__ = [
    'key',
    'type',
    'required',
    'multiple',
    'options',
    'opts',
    'key_desc',
    'label',
    'description',
    'descriptions',
    'descs',
    'answer',
    '_def',
    'answers',
    'next_opt',
    'gisprompt',
    'guisection',
    'guidependency',
    'checker',
    'count',
]
struct_Option._fields_ = [
    ('key', String),
    ('type', c_int),
    ('required', c_int),
    ('multiple', c_int),
    ('options', String),
    ('opts', POINTER(POINTER(c_char))),
    ('key_desc', String),
    ('label', String),
    ('description', String),
    ('descriptions', String),
    ('descs', POINTER(POINTER(c_char))),
    ('answer', String),
    ('_def', String),
    ('answers', POINTER(POINTER(c_char))),
    ('next_opt', POINTER(struct_Option)),
    ('gisprompt', String),
    ('guisection', String),
    ('guidependency', String),
    ('checker', CFUNCTYPE(UNCHECKED(c_int), String)),
    ('count', c_int),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 557
class struct_Flag(Structure):
    pass

struct_Flag.__slots__ = [
    'key',
    'answer',
    'suppress_required',
    'suppress_overwrite',
    'label',
    'description',
    'guisection',
    'next_flag',
]
struct_Flag._fields_ = [
    ('key', c_char),
    ('answer', c_char),
    ('suppress_required', c_char),
    ('suppress_overwrite', c_char),
    ('label', String),
    ('description', String),
    ('guisection', String),
    ('next_flag', POINTER(struct_Flag)),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 574
class struct_GModule(Structure):
    pass

struct_GModule.__slots__ = [
    'label',
    'description',
    'keywords',
    'overwrite',
    'verbose',
]
struct_GModule._fields_ = [
    ('label', String),
    ('description', String),
    ('keywords', POINTER(POINTER(c_char))),
    ('overwrite', c_int),
    ('verbose', c_int),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 584
class struct_TimeStamp(Structure):
    pass

struct_TimeStamp.__slots__ = [
    'dt',
    'count',
]
struct_TimeStamp._fields_ = [
    ('dt', DateTime * 2),
    ('count', c_int),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 590
class struct_Counter(Structure):
    pass

struct_Counter.__slots__ = [
    'value',
]
struct_Counter._fields_ = [
    ('value', c_int),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 594
class struct_Popen(Structure):
    pass

struct_Popen.__slots__ = [
    'fp',
    'pid',
]
struct_Popen._fields_ = [
    ('fp', POINTER(FILE)),
    ('pid', c_int),
]

CELL = c_int # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 599

DCELL = c_double # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 600

FCELL = c_float # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 601

grass_int64 = c_int64 # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 608

LCELL = grass_int64 # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 618

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 620
class struct__Color_Value_(Structure):
    pass

struct__Color_Value_.__slots__ = [
    'value',
    'red',
    'grn',
    'blu',
]
struct__Color_Value_._fields_ = [
    ('value', DCELL),
    ('red', c_ubyte),
    ('grn', c_ubyte),
    ('blu', c_ubyte),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 628
class struct__Color_Rule_(Structure):
    pass

struct__Color_Rule_.__slots__ = [
    'low',
    'high',
    'next',
    'prev',
]
struct__Color_Rule_._fields_ = [
    ('low', struct__Color_Value_),
    ('high', struct__Color_Value_),
    ('next', POINTER(struct__Color_Rule_)),
    ('prev', POINTER(struct__Color_Rule_)),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 640
class struct_anon_5(Structure):
    pass

struct_anon_5.__slots__ = [
    'red',
    'grn',
    'blu',
    'set',
    'nalloc',
    'active',
]
struct_anon_5._fields_ = [
    ('red', POINTER(c_ubyte)),
    ('grn', POINTER(c_ubyte)),
    ('blu', POINTER(c_ubyte)),
    ('set', POINTER(c_ubyte)),
    ('nalloc', c_int),
    ('active', c_int),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 650
class struct_anon_6(Structure):
    pass

struct_anon_6.__slots__ = [
    'vals',
    'rules',
    'nalloc',
    'active',
]
struct_anon_6._fields_ = [
    ('vals', POINTER(DCELL)),
    ('rules', POINTER(POINTER(struct__Color_Rule_))),
    ('nalloc', c_int),
    ('active', c_int),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 635
class struct__Color_Info_(Structure):
    pass

struct__Color_Info_.__slots__ = [
    'rules',
    'n_rules',
    'lookup',
    'fp_lookup',
    'min',
    'max',
]
struct__Color_Info_._fields_ = [
    ('rules', POINTER(struct__Color_Rule_)),
    ('n_rules', c_int),
    ('lookup', struct_anon_5),
    ('fp_lookup', struct_anon_6),
    ('min', DCELL),
    ('max', DCELL),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 662
class struct_Colors(Structure):
    pass

struct_Colors.__slots__ = [
    'version',
    'shift',
    'invert',
    'is_float',
    'null_set',
    'null_red',
    'null_grn',
    'null_blu',
    'undef_set',
    'undef_red',
    'undef_grn',
    'undef_blu',
    'fixed',
    'modular',
    'cmin',
    'cmax',
    'organizing',
]
struct_Colors._fields_ = [
    ('version', c_int),
    ('shift', DCELL),
    ('invert', c_int),
    ('is_float', c_int),
    ('null_set', c_int),
    ('null_red', c_ubyte),
    ('null_grn', c_ubyte),
    ('null_blu', c_ubyte),
    ('undef_set', c_int),
    ('undef_red', c_ubyte),
    ('undef_grn', c_ubyte),
    ('undef_blu', c_ubyte),
    ('fixed', struct__Color_Info_),
    ('modular', struct__Color_Info_),
    ('cmin', DCELL),
    ('cmax', DCELL),
    ('organizing', c_int),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 686
class struct_ilist(Structure):
    pass

struct_ilist.__slots__ = [
    'value',
    'n_values',
    'alloc_values',
]
struct_ilist._fields_ = [
    ('value', POINTER(c_int)),
    ('n_values', c_int),
    ('alloc_values', c_int),
]

_ino_t = c_ushort # C:/msys32/mingw32/i686-w64-mingw32/include/sys/types.h: 43

_dev_t = c_uint # C:/msys32/mingw32/i686-w64-mingw32/include/sys/types.h: 51

# C:/msys32/mingw32/i686-w64-mingw32/include/_mingw_stat64.h: 55
class struct__stati64(Structure):
    pass

struct__stati64.__slots__ = [
    'st_dev',
    'st_ino',
    'st_mode',
    'st_nlink',
    'st_uid',
    'st_gid',
    'st_rdev',
    'st_size',
    'st_atime',
    'st_mtime',
    'st_ctime',
]
struct__stati64._fields_ = [
    ('st_dev', _dev_t),
    ('st_ino', _ino_t),
    ('st_mode', c_ushort),
    ('st_nlink', c_short),
    ('st_uid', c_short),
    ('st_gid', c_short),
    ('st_rdev', _dev_t),
    ('st_size', c_int64),
    ('st_atime', __time32_t),
    ('st_mtime', __time32_t),
    ('st_ctime', __time32_t),
]

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 95
if hasattr(_libs['grass_gis.7.9'], 'G_adjust_Cell_head'):
    G_adjust_Cell_head = _libs['grass_gis.7.9'].G_adjust_Cell_head
    G_adjust_Cell_head.argtypes = [POINTER(struct_Cell_head), c_int, c_int]
    G_adjust_Cell_head.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 96
if hasattr(_libs['grass_gis.7.9'], 'G_adjust_Cell_head3'):
    G_adjust_Cell_head3 = _libs['grass_gis.7.9'].G_adjust_Cell_head3
    G_adjust_Cell_head3.argtypes = [POINTER(struct_Cell_head), c_int, c_int, c_int]
    G_adjust_Cell_head3.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 97
if hasattr(_libs['grass_gis.7.9'], 'G_adjust_window_ll'):
    G_adjust_window_ll = _libs['grass_gis.7.9'].G_adjust_window_ll
    G_adjust_window_ll.argtypes = [POINTER(struct_Cell_head)]
    G_adjust_window_ll.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 103
if hasattr(_libs['grass_gis.7.9'], 'G__malloc'):
    G__malloc = _libs['grass_gis.7.9'].G__malloc
    G__malloc.argtypes = [String, c_int, c_size_t]
    G__malloc.restype = POINTER(c_ubyte)
    G__malloc.errcheck = lambda v,*a : cast(v, c_void_p)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 104
if hasattr(_libs['grass_gis.7.9'], 'G__calloc'):
    G__calloc = _libs['grass_gis.7.9'].G__calloc
    G__calloc.argtypes = [String, c_int, c_size_t, c_size_t]
    G__calloc.restype = POINTER(c_ubyte)
    G__calloc.errcheck = lambda v,*a : cast(v, c_void_p)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 105
if hasattr(_libs['grass_gis.7.9'], 'G__realloc'):
    G__realloc = _libs['grass_gis.7.9'].G__realloc
    G__realloc.argtypes = [String, c_int, POINTER(None), c_size_t]
    G__realloc.restype = POINTER(c_ubyte)
    G__realloc.errcheck = lambda v,*a : cast(v, c_void_p)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 106
if hasattr(_libs['grass_gis.7.9'], 'G_free'):
    G_free = _libs['grass_gis.7.9'].G_free
    G_free.argtypes = [POINTER(None)]
    G_free.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 122
if hasattr(_libs['grass_gis.7.9'], 'G_begin_cell_area_calculations'):
    G_begin_cell_area_calculations = _libs['grass_gis.7.9'].G_begin_cell_area_calculations
    G_begin_cell_area_calculations.argtypes = []
    G_begin_cell_area_calculations.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 123
if hasattr(_libs['grass_gis.7.9'], 'G_area_of_cell_at_row'):
    G_area_of_cell_at_row = _libs['grass_gis.7.9'].G_area_of_cell_at_row
    G_area_of_cell_at_row.argtypes = [c_int]
    G_area_of_cell_at_row.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 124
if hasattr(_libs['grass_gis.7.9'], 'G_begin_polygon_area_calculations'):
    G_begin_polygon_area_calculations = _libs['grass_gis.7.9'].G_begin_polygon_area_calculations
    G_begin_polygon_area_calculations.argtypes = []
    G_begin_polygon_area_calculations.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 125
if hasattr(_libs['grass_gis.7.9'], 'G_area_of_polygon'):
    G_area_of_polygon = _libs['grass_gis.7.9'].G_area_of_polygon
    G_area_of_polygon.argtypes = [POINTER(c_double), POINTER(c_double), c_int]
    G_area_of_polygon.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 128
if hasattr(_libs['grass_gis.7.9'], 'G_begin_zone_area_on_ellipsoid'):
    G_begin_zone_area_on_ellipsoid = _libs['grass_gis.7.9'].G_begin_zone_area_on_ellipsoid
    G_begin_zone_area_on_ellipsoid.argtypes = [c_double, c_double, c_double]
    G_begin_zone_area_on_ellipsoid.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 129
if hasattr(_libs['grass_gis.7.9'], 'G_darea0_on_ellipsoid'):
    G_darea0_on_ellipsoid = _libs['grass_gis.7.9'].G_darea0_on_ellipsoid
    G_darea0_on_ellipsoid.argtypes = [c_double]
    G_darea0_on_ellipsoid.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 130
if hasattr(_libs['grass_gis.7.9'], 'G_area_for_zone_on_ellipsoid'):
    G_area_for_zone_on_ellipsoid = _libs['grass_gis.7.9'].G_area_for_zone_on_ellipsoid
    G_area_for_zone_on_ellipsoid.argtypes = [c_double, c_double]
    G_area_for_zone_on_ellipsoid.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 133
if hasattr(_libs['grass_gis.7.9'], 'G_begin_ellipsoid_polygon_area'):
    G_begin_ellipsoid_polygon_area = _libs['grass_gis.7.9'].G_begin_ellipsoid_polygon_area
    G_begin_ellipsoid_polygon_area.argtypes = [c_double, c_double]
    G_begin_ellipsoid_polygon_area.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 134
if hasattr(_libs['grass_gis.7.9'], 'G_ellipsoid_polygon_area'):
    G_ellipsoid_polygon_area = _libs['grass_gis.7.9'].G_ellipsoid_polygon_area
    G_ellipsoid_polygon_area.argtypes = [POINTER(c_double), POINTER(c_double), c_int]
    G_ellipsoid_polygon_area.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 137
if hasattr(_libs['grass_gis.7.9'], 'G_planimetric_polygon_area'):
    G_planimetric_polygon_area = _libs['grass_gis.7.9'].G_planimetric_polygon_area
    G_planimetric_polygon_area.argtypes = [POINTER(c_double), POINTER(c_double), c_int]
    G_planimetric_polygon_area.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 140
if hasattr(_libs['grass_gis.7.9'], 'G_begin_zone_area_on_sphere'):
    G_begin_zone_area_on_sphere = _libs['grass_gis.7.9'].G_begin_zone_area_on_sphere
    G_begin_zone_area_on_sphere.argtypes = [c_double, c_double]
    G_begin_zone_area_on_sphere.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 141
if hasattr(_libs['grass_gis.7.9'], 'G_darea0_on_sphere'):
    G_darea0_on_sphere = _libs['grass_gis.7.9'].G_darea0_on_sphere
    G_darea0_on_sphere.argtypes = [c_double]
    G_darea0_on_sphere.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 142
if hasattr(_libs['grass_gis.7.9'], 'G_area_for_zone_on_sphere'):
    G_area_for_zone_on_sphere = _libs['grass_gis.7.9'].G_area_for_zone_on_sphere
    G_area_for_zone_on_sphere.argtypes = [c_double, c_double]
    G_area_for_zone_on_sphere.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 145
if hasattr(_libs['grass_gis.7.9'], 'G_ascii_check'):
    G_ascii_check = _libs['grass_gis.7.9'].G_ascii_check
    G_ascii_check.argtypes = [String]
    G_ascii_check.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 158
if hasattr(_libs['grass_gis.7.9'], 'G_asprintf'):
    _func = _libs['grass_gis.7.9'].G_asprintf
    _restype = c_int
    _errcheck = None
    _argtypes = [POINTER(POINTER(c_char)), String]
    G_asprintf = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 161
if hasattr(_libs['grass_gis.7.9'], 'G_rasprintf'):
    _func = _libs['grass_gis.7.9'].G_rasprintf
    _restype = c_int
    _errcheck = None
    _argtypes = [POINTER(POINTER(c_char)), POINTER(c_size_t), String]
    G_rasprintf = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 165
if hasattr(_libs['grass_gis.7.9'], 'G_aprintf'):
    _func = _libs['grass_gis.7.9'].G_aprintf
    _restype = c_int
    _errcheck = None
    _argtypes = [String]
    G_aprintf = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 166
if hasattr(_libs['grass_gis.7.9'], 'G_faprintf'):
    _func = _libs['grass_gis.7.9'].G_faprintf
    _restype = c_int
    _errcheck = None
    _argtypes = [POINTER(FILE), String]
    G_faprintf = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 167
if hasattr(_libs['grass_gis.7.9'], 'G_saprintf'):
    _func = _libs['grass_gis.7.9'].G_saprintf
    _restype = c_int
    _errcheck = None
    _argtypes = [String, String]
    G_saprintf = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 168
if hasattr(_libs['grass_gis.7.9'], 'G_snaprintf'):
    _func = _libs['grass_gis.7.9'].G_snaprintf
    _restype = c_int
    _errcheck = None
    _argtypes = [String, c_size_t, String]
    G_snaprintf = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 175
if hasattr(_libs['grass_gis.7.9'], 'G__read_band_reference'):
    G__read_band_reference = _libs['grass_gis.7.9'].G__read_band_reference
    G__read_band_reference.argtypes = [POINTER(FILE), POINTER(POINTER(struct_Key_Value))]
    G__read_band_reference.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 176
if hasattr(_libs['grass_gis.7.9'], 'G__write_band_reference'):
    G__write_band_reference = _libs['grass_gis.7.9'].G__write_band_reference
    G__write_band_reference.argtypes = [POINTER(FILE), String, String]
    G__write_band_reference.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 179
if hasattr(_libs['grass_gis.7.9'], 'G_basename'):
    G_basename = _libs['grass_gis.7.9'].G_basename
    G_basename.argtypes = [String, String]
    if sizeof(c_int) == sizeof(c_void_p):
        G_basename.restype = ReturnString
    else:
        G_basename.restype = String
        G_basename.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 180
if hasattr(_libs['grass_gis.7.9'], 'G_get_num_decimals'):
    G_get_num_decimals = _libs['grass_gis.7.9'].G_get_num_decimals
    G_get_num_decimals.argtypes = [String]
    G_get_num_decimals.restype = c_size_t

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 181
if hasattr(_libs['grass_gis.7.9'], 'G_double_to_basename_format'):
    G_double_to_basename_format = _libs['grass_gis.7.9'].G_double_to_basename_format
    G_double_to_basename_format.argtypes = [c_double, c_size_t, c_size_t]
    if sizeof(c_int) == sizeof(c_void_p):
        G_double_to_basename_format.restype = ReturnString
    else:
        G_double_to_basename_format.restype = String
        G_double_to_basename_format.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 182
if hasattr(_libs['grass_gis.7.9'], 'G_get_basename_separator'):
    G_get_basename_separator = _libs['grass_gis.7.9'].G_get_basename_separator
    G_get_basename_separator.argtypes = []
    if sizeof(c_int) == sizeof(c_void_p):
        G_get_basename_separator.restype = ReturnString
    else:
        G_get_basename_separator.restype = String
        G_get_basename_separator.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 183
if hasattr(_libs['grass_gis.7.9'], 'G_join_basename_strings'):
    G_join_basename_strings = _libs['grass_gis.7.9'].G_join_basename_strings
    G_join_basename_strings.argtypes = [POINTER(POINTER(c_char)), c_size_t]
    if sizeof(c_int) == sizeof(c_void_p):
        G_join_basename_strings.restype = ReturnString
    else:
        G_join_basename_strings.restype = String
        G_join_basename_strings.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 184
if hasattr(_libs['grass_gis.7.9'], 'G_generate_basename'):
    G_generate_basename = _libs['grass_gis.7.9'].G_generate_basename
    G_generate_basename.argtypes = [String, c_double, c_size_t, c_size_t]
    if sizeof(c_int) == sizeof(c_void_p):
        G_generate_basename.restype = ReturnString
    else:
        G_generate_basename.restype = String
        G_generate_basename.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 187
if hasattr(_libs['grass_gis.7.9'], 'G_bresenham_line'):
    G_bresenham_line = _libs['grass_gis.7.9'].G_bresenham_line
    G_bresenham_line.argtypes = [c_int, c_int, c_int, c_int, CFUNCTYPE(UNCHECKED(c_int), c_int, c_int)]
    G_bresenham_line.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 190
if hasattr(_libs['grass_gis.7.9'], 'G_clicker'):
    G_clicker = _libs['grass_gis.7.9'].G_clicker
    G_clicker.argtypes = []
    G_clicker.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 193
if hasattr(_libs['grass_gis.7.9'], 'G_color_rules_options'):
    G_color_rules_options = _libs['grass_gis.7.9'].G_color_rules_options
    G_color_rules_options.argtypes = []
    if sizeof(c_int) == sizeof(c_void_p):
        G_color_rules_options.restype = ReturnString
    else:
        G_color_rules_options.restype = String
        G_color_rules_options.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 194
if hasattr(_libs['grass_gis.7.9'], 'G_color_rules_descriptions'):
    G_color_rules_descriptions = _libs['grass_gis.7.9'].G_color_rules_descriptions
    G_color_rules_descriptions.argtypes = []
    if sizeof(c_int) == sizeof(c_void_p):
        G_color_rules_descriptions.restype = ReturnString
    else:
        G_color_rules_descriptions.restype = String
        G_color_rules_descriptions.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 195
if hasattr(_libs['grass_gis.7.9'], 'G_color_rules_description_type'):
    G_color_rules_description_type = _libs['grass_gis.7.9'].G_color_rules_description_type
    G_color_rules_description_type.argtypes = []
    if sizeof(c_int) == sizeof(c_void_p):
        G_color_rules_description_type.restype = ReturnString
    else:
        G_color_rules_description_type.restype = String
        G_color_rules_description_type.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 196
if hasattr(_libs['grass_gis.7.9'], 'G_list_color_rules'):
    G_list_color_rules = _libs['grass_gis.7.9'].G_list_color_rules
    G_list_color_rules.argtypes = [POINTER(FILE)]
    G_list_color_rules.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 197
if hasattr(_libs['grass_gis.7.9'], 'G_list_color_rules_description_type'):
    G_list_color_rules_description_type = _libs['grass_gis.7.9'].G_list_color_rules_description_type
    G_list_color_rules_description_type.argtypes = [POINTER(FILE), String]
    G_list_color_rules_description_type.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 198
if hasattr(_libs['grass_gis.7.9'], 'G_find_color_rule'):
    G_find_color_rule = _libs['grass_gis.7.9'].G_find_color_rule
    G_find_color_rule.argtypes = [String]
    G_find_color_rule.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 201
if hasattr(_libs['grass_gis.7.9'], 'G_num_standard_colors'):
    G_num_standard_colors = _libs['grass_gis.7.9'].G_num_standard_colors
    G_num_standard_colors.argtypes = []
    G_num_standard_colors.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 204
if hasattr(_libs['grass_gis.7.9'], 'G_insert_commas'):
    G_insert_commas = _libs['grass_gis.7.9'].G_insert_commas
    G_insert_commas.argtypes = [String]
    G_insert_commas.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 205
if hasattr(_libs['grass_gis.7.9'], 'G_remove_commas'):
    G_remove_commas = _libs['grass_gis.7.9'].G_remove_commas
    G_remove_commas.argtypes = [String]
    G_remove_commas.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 208
if hasattr(_libs['grass_gis.7.9'], 'G_compressor_number'):
    G_compressor_number = _libs['grass_gis.7.9'].G_compressor_number
    G_compressor_number.argtypes = [String]
    G_compressor_number.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 209
if hasattr(_libs['grass_gis.7.9'], 'G_compressor_name'):
    G_compressor_name = _libs['grass_gis.7.9'].G_compressor_name
    G_compressor_name.argtypes = [c_int]
    if sizeof(c_int) == sizeof(c_void_p):
        G_compressor_name.restype = ReturnString
    else:
        G_compressor_name.restype = String
        G_compressor_name.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 210
if hasattr(_libs['grass_gis.7.9'], 'G_default_compressor'):
    G_default_compressor = _libs['grass_gis.7.9'].G_default_compressor
    G_default_compressor.argtypes = []
    G_default_compressor.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 211
if hasattr(_libs['grass_gis.7.9'], 'G_check_compressor'):
    G_check_compressor = _libs['grass_gis.7.9'].G_check_compressor
    G_check_compressor.argtypes = [c_int]
    G_check_compressor.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 212
if hasattr(_libs['grass_gis.7.9'], 'G_write_compressed'):
    G_write_compressed = _libs['grass_gis.7.9'].G_write_compressed
    G_write_compressed.argtypes = [c_int, POINTER(c_ubyte), c_int, c_int]
    G_write_compressed.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 213
for _lib in six.itervalues(_libs):
    if not hasattr(_lib, 'G_write_unompressed'):
        continue
    G_write_unompressed = _lib.G_write_unompressed
    G_write_unompressed.argtypes = [c_int, POINTER(c_ubyte), c_int]
    G_write_unompressed.restype = c_int
    break

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 214
if hasattr(_libs['grass_gis.7.9'], 'G_read_compressed'):
    G_read_compressed = _libs['grass_gis.7.9'].G_read_compressed
    G_read_compressed.argtypes = [c_int, c_int, POINTER(c_ubyte), c_int, c_int]
    G_read_compressed.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 215
if hasattr(_libs['grass_gis.7.9'], 'G_compress_bound'):
    G_compress_bound = _libs['grass_gis.7.9'].G_compress_bound
    G_compress_bound.argtypes = [c_int, c_int]
    G_compress_bound.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 216
if hasattr(_libs['grass_gis.7.9'], 'G_compress'):
    G_compress = _libs['grass_gis.7.9'].G_compress
    G_compress.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int, c_int]
    G_compress.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 217
if hasattr(_libs['grass_gis.7.9'], 'G_expand'):
    G_expand = _libs['grass_gis.7.9'].G_expand
    G_expand.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int, c_int]
    G_expand.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 221
if hasattr(_libs['grass_gis.7.9'], 'G_no_compress'):
    G_no_compress = _libs['grass_gis.7.9'].G_no_compress
    G_no_compress.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_no_compress.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 224
if hasattr(_libs['grass_gis.7.9'], 'G_no_expand'):
    G_no_expand = _libs['grass_gis.7.9'].G_no_expand
    G_no_expand.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_no_expand.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 229
if hasattr(_libs['grass_gis.7.9'], 'G_rle_compress'):
    G_rle_compress = _libs['grass_gis.7.9'].G_rle_compress
    G_rle_compress.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_rle_compress.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 232
if hasattr(_libs['grass_gis.7.9'], 'G_rle_expand'):
    G_rle_expand = _libs['grass_gis.7.9'].G_rle_expand
    G_rle_expand.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_rle_expand.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 237
if hasattr(_libs['grass_gis.7.9'], 'G_zlib_compress'):
    G_zlib_compress = _libs['grass_gis.7.9'].G_zlib_compress
    G_zlib_compress.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_zlib_compress.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 240
if hasattr(_libs['grass_gis.7.9'], 'G_zlib_expand'):
    G_zlib_expand = _libs['grass_gis.7.9'].G_zlib_expand
    G_zlib_expand.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_zlib_expand.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 245
if hasattr(_libs['grass_gis.7.9'], 'G_lz4_compress'):
    G_lz4_compress = _libs['grass_gis.7.9'].G_lz4_compress
    G_lz4_compress.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_lz4_compress.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 248
if hasattr(_libs['grass_gis.7.9'], 'G_lz4_expand'):
    G_lz4_expand = _libs['grass_gis.7.9'].G_lz4_expand
    G_lz4_expand.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_lz4_expand.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 253
if hasattr(_libs['grass_gis.7.9'], 'G_bz2_compress'):
    G_bz2_compress = _libs['grass_gis.7.9'].G_bz2_compress
    G_bz2_compress.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_bz2_compress.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 256
if hasattr(_libs['grass_gis.7.9'], 'G_bz2_expand'):
    G_bz2_expand = _libs['grass_gis.7.9'].G_bz2_expand
    G_bz2_expand.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_bz2_expand.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 261
if hasattr(_libs['grass_gis.7.9'], 'G_zstd_compress'):
    G_zstd_compress = _libs['grass_gis.7.9'].G_zstd_compress
    G_zstd_compress.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_zstd_compress.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 264
if hasattr(_libs['grass_gis.7.9'], 'G_zstd_expand'):
    G_zstd_expand = _libs['grass_gis.7.9'].G_zstd_expand
    G_zstd_expand.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_zstd_expand.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 270
if hasattr(_libs['grass_gis.7.9'], 'G_recursive_copy'):
    G_recursive_copy = _libs['grass_gis.7.9'].G_recursive_copy
    G_recursive_copy.argtypes = [String, String]
    G_recursive_copy.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 273
if hasattr(_libs['grass_gis.7.9'], 'G_copy_file'):
    G_copy_file = _libs['grass_gis.7.9'].G_copy_file
    G_copy_file.argtypes = [String, String]
    G_copy_file.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 276
if hasattr(_libs['grass_gis.7.9'], 'G_is_initialized'):
    G_is_initialized = _libs['grass_gis.7.9'].G_is_initialized
    G_is_initialized.argtypes = [POINTER(c_int)]
    G_is_initialized.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 277
if hasattr(_libs['grass_gis.7.9'], 'G_initialize_done'):
    G_initialize_done = _libs['grass_gis.7.9'].G_initialize_done
    G_initialize_done.argtypes = [POINTER(c_int)]
    G_initialize_done.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 278
if hasattr(_libs['grass_gis.7.9'], 'G_init_counter'):
    G_init_counter = _libs['grass_gis.7.9'].G_init_counter
    G_init_counter.argtypes = [POINTER(struct_Counter), c_int]
    G_init_counter.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 279
if hasattr(_libs['grass_gis.7.9'], 'G_counter_next'):
    G_counter_next = _libs['grass_gis.7.9'].G_counter_next
    G_counter_next.argtypes = [POINTER(struct_Counter)]
    G_counter_next.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 282
if hasattr(_libs['grass_gis.7.9'], 'G_date'):
    G_date = _libs['grass_gis.7.9'].G_date
    G_date.argtypes = []
    G_date.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 285
if hasattr(_libs['grass_gis.7.9'], 'G_get_datum_by_name'):
    G_get_datum_by_name = _libs['grass_gis.7.9'].G_get_datum_by_name
    G_get_datum_by_name.argtypes = [String]
    G_get_datum_by_name.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 286
if hasattr(_libs['grass_gis.7.9'], 'G_datum_name'):
    G_datum_name = _libs['grass_gis.7.9'].G_datum_name
    G_datum_name.argtypes = [c_int]
    G_datum_name.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 287
if hasattr(_libs['grass_gis.7.9'], 'G_datum_description'):
    G_datum_description = _libs['grass_gis.7.9'].G_datum_description
    G_datum_description.argtypes = [c_int]
    G_datum_description.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 288
if hasattr(_libs['grass_gis.7.9'], 'G_datum_ellipsoid'):
    G_datum_ellipsoid = _libs['grass_gis.7.9'].G_datum_ellipsoid
    G_datum_ellipsoid.argtypes = [c_int]
    G_datum_ellipsoid.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 289
if hasattr(_libs['grass_gis.7.9'], 'G_get_datumparams_from_projinfo'):
    G_get_datumparams_from_projinfo = _libs['grass_gis.7.9'].G_get_datumparams_from_projinfo
    G_get_datumparams_from_projinfo.argtypes = [POINTER(struct_Key_Value), String, String]
    G_get_datumparams_from_projinfo.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 290
if hasattr(_libs['grass_gis.7.9'], 'G_read_datum_table'):
    G_read_datum_table = _libs['grass_gis.7.9'].G_read_datum_table
    G_read_datum_table.argtypes = []
    G_read_datum_table.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 294
if hasattr(_libs['grass_gis.7.9'], 'G_init_debug'):
    G_init_debug = _libs['grass_gis.7.9'].G_init_debug
    G_init_debug.argtypes = []
    G_init_debug.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 295
if hasattr(_libs['grass_gis.7.9'], 'G_debug'):
    _func = _libs['grass_gis.7.9'].G_debug
    _restype = c_int
    _errcheck = None
    _argtypes = [c_int, String]
    G_debug = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 298
if hasattr(_libs['grass_gis.7.9'], 'G_begin_distance_calculations'):
    G_begin_distance_calculations = _libs['grass_gis.7.9'].G_begin_distance_calculations
    G_begin_distance_calculations.argtypes = []
    G_begin_distance_calculations.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 299
if hasattr(_libs['grass_gis.7.9'], 'G_distance'):
    G_distance = _libs['grass_gis.7.9'].G_distance
    G_distance.argtypes = [c_double, c_double, c_double, c_double]
    G_distance.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 300
if hasattr(_libs['grass_gis.7.9'], 'G_distance_between_line_segments'):
    G_distance_between_line_segments = _libs['grass_gis.7.9'].G_distance_between_line_segments
    G_distance_between_line_segments.argtypes = [c_double, c_double, c_double, c_double, c_double, c_double, c_double, c_double]
    G_distance_between_line_segments.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 302
if hasattr(_libs['grass_gis.7.9'], 'G_distance_point_to_line_segment'):
    G_distance_point_to_line_segment = _libs['grass_gis.7.9'].G_distance_point_to_line_segment
    G_distance_point_to_line_segment.argtypes = [c_double, c_double, c_double, c_double, c_double, c_double]
    G_distance_point_to_line_segment.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 306
if hasattr(_libs['grass_gis.7.9'], 'G_done_msg'):
    _func = _libs['grass_gis.7.9'].G_done_msg
    _restype = None
    _errcheck = None
    _argtypes = [String]
    G_done_msg = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 309
if hasattr(_libs['grass_gis.7.9'], 'G_is_little_endian'):
    G_is_little_endian = _libs['grass_gis.7.9'].G_is_little_endian
    G_is_little_endian.argtypes = []
    G_is_little_endian.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 312
if hasattr(_libs['grass_gis.7.9'], 'G_init_env'):
    G_init_env = _libs['grass_gis.7.9'].G_init_env
    G_init_env.argtypes = []
    G_init_env.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 313
if hasattr(_libs['grass_gis.7.9'], 'G_getenv'):
    G_getenv = _libs['grass_gis.7.9'].G_getenv
    G_getenv.argtypes = [String]
    G_getenv.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 314
if hasattr(_libs['grass_gis.7.9'], 'G_getenv2'):
    G_getenv2 = _libs['grass_gis.7.9'].G_getenv2
    G_getenv2.argtypes = [String, c_int]
    G_getenv2.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 315
if hasattr(_libs['grass_gis.7.9'], 'G_getenv_nofatal'):
    G_getenv_nofatal = _libs['grass_gis.7.9'].G_getenv_nofatal
    G_getenv_nofatal.argtypes = [String]
    G_getenv_nofatal.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 316
if hasattr(_libs['grass_gis.7.9'], 'G_getenv_nofatal2'):
    G_getenv_nofatal2 = _libs['grass_gis.7.9'].G_getenv_nofatal2
    G_getenv_nofatal2.argtypes = [String, c_int]
    G_getenv_nofatal2.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 317
if hasattr(_libs['grass_gis.7.9'], 'G_setenv'):
    G_setenv = _libs['grass_gis.7.9'].G_setenv
    G_setenv.argtypes = [String, String]
    G_setenv.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 318
if hasattr(_libs['grass_gis.7.9'], 'G_setenv2'):
    G_setenv2 = _libs['grass_gis.7.9'].G_setenv2
    G_setenv2.argtypes = [String, String, c_int]
    G_setenv2.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 319
if hasattr(_libs['grass_gis.7.9'], 'G_setenv_nogisrc'):
    G_setenv_nogisrc = _libs['grass_gis.7.9'].G_setenv_nogisrc
    G_setenv_nogisrc.argtypes = [String, String]
    G_setenv_nogisrc.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 320
if hasattr(_libs['grass_gis.7.9'], 'G_setenv_nogisrc2'):
    G_setenv_nogisrc2 = _libs['grass_gis.7.9'].G_setenv_nogisrc2
    G_setenv_nogisrc2.argtypes = [String, String, c_int]
    G_setenv_nogisrc2.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 321
if hasattr(_libs['grass_gis.7.9'], 'G_unsetenv'):
    G_unsetenv = _libs['grass_gis.7.9'].G_unsetenv
    G_unsetenv.argtypes = [String]
    G_unsetenv.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 322
if hasattr(_libs['grass_gis.7.9'], 'G_unsetenv2'):
    G_unsetenv2 = _libs['grass_gis.7.9'].G_unsetenv2
    G_unsetenv2.argtypes = [String, c_int]
    G_unsetenv2.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 323
if hasattr(_libs['grass_gis.7.9'], 'G_get_env_name'):
    G_get_env_name = _libs['grass_gis.7.9'].G_get_env_name
    G_get_env_name.argtypes = [c_int]
    G_get_env_name.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 324
if hasattr(_libs['grass_gis.7.9'], 'G_set_gisrc_mode'):
    G_set_gisrc_mode = _libs['grass_gis.7.9'].G_set_gisrc_mode
    G_set_gisrc_mode.argtypes = [c_int]
    G_set_gisrc_mode.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 325
if hasattr(_libs['grass_gis.7.9'], 'G_get_gisrc_mode'):
    G_get_gisrc_mode = _libs['grass_gis.7.9'].G_get_gisrc_mode
    G_get_gisrc_mode.argtypes = []
    G_get_gisrc_mode.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 326
if hasattr(_libs['grass_gis.7.9'], 'G_create_alt_env'):
    G_create_alt_env = _libs['grass_gis.7.9'].G_create_alt_env
    G_create_alt_env.argtypes = []
    G_create_alt_env.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 327
if hasattr(_libs['grass_gis.7.9'], 'G_switch_env'):
    G_switch_env = _libs['grass_gis.7.9'].G_switch_env
    G_switch_env.argtypes = []
    G_switch_env.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 328
if hasattr(_libs['grass_gis.7.9'], 'G__read_mapset_env'):
    G__read_mapset_env = _libs['grass_gis.7.9'].G__read_mapset_env
    G__read_mapset_env.argtypes = []
    G__read_mapset_env.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 329
if hasattr(_libs['grass_gis.7.9'], 'G__read_gisrc_env'):
    G__read_gisrc_env = _libs['grass_gis.7.9'].G__read_gisrc_env
    G__read_gisrc_env.argtypes = []
    G__read_gisrc_env.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 336
if hasattr(_libs['grass_gis.7.9'], 'G_info_format'):
    G_info_format = _libs['grass_gis.7.9'].G_info_format
    G_info_format.argtypes = []
    G_info_format.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 337
if hasattr(_libs['grass_gis.7.9'], 'G_message'):
    _func = _libs['grass_gis.7.9'].G_message
    _restype = None
    _errcheck = None
    _argtypes = [String]
    G_message = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 338
if hasattr(_libs['grass_gis.7.9'], 'G_verbose_message'):
    _func = _libs['grass_gis.7.9'].G_verbose_message
    _restype = None
    _errcheck = None
    _argtypes = [String]
    G_verbose_message = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 340
if hasattr(_libs['grass_gis.7.9'], 'G_important_message'):
    _func = _libs['grass_gis.7.9'].G_important_message
    _restype = None
    _errcheck = None
    _argtypes = [String]
    G_important_message = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 342
if hasattr(_libs['grass_gis.7.9'], 'G_fatal_error'):
    _func = _libs['grass_gis.7.9'].G_fatal_error
    _restype = None
    _errcheck = None
    _argtypes = [String]
    G_fatal_error = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 344
if hasattr(_libs['grass_gis.7.9'], 'G_warning'):
    _func = _libs['grass_gis.7.9'].G_warning
    _restype = None
    _errcheck = None
    _argtypes = [String]
    G_warning = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 345
if hasattr(_libs['grass_gis.7.9'], 'G_suppress_warnings'):
    G_suppress_warnings = _libs['grass_gis.7.9'].G_suppress_warnings
    G_suppress_warnings.argtypes = [c_int]
    G_suppress_warnings.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 346
if hasattr(_libs['grass_gis.7.9'], 'G_sleep_on_error'):
    G_sleep_on_error = _libs['grass_gis.7.9'].G_sleep_on_error
    G_sleep_on_error.argtypes = [c_int]
    G_sleep_on_error.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 347
if hasattr(_libs['grass_gis.7.9'], 'G_set_error_routine'):
    G_set_error_routine = _libs['grass_gis.7.9'].G_set_error_routine
    G_set_error_routine.argtypes = [CFUNCTYPE(UNCHECKED(c_int), String, c_int)]
    G_set_error_routine.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 348
if hasattr(_libs['grass_gis.7.9'], 'G_unset_error_routine'):
    G_unset_error_routine = _libs['grass_gis.7.9'].G_unset_error_routine
    G_unset_error_routine.argtypes = []
    G_unset_error_routine.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 349
if hasattr(_libs['grass_gis.7.9'], 'G_init_logging'):
    G_init_logging = _libs['grass_gis.7.9'].G_init_logging
    G_init_logging.argtypes = []
    G_init_logging.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 352
if hasattr(_libs['grass_gis.7.9'], 'G_file_name'):
    G_file_name = _libs['grass_gis.7.9'].G_file_name
    G_file_name.argtypes = [String, String, String, String]
    if sizeof(c_int) == sizeof(c_void_p):
        G_file_name.restype = ReturnString
    else:
        G_file_name.restype = String
        G_file_name.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 353
if hasattr(_libs['grass_gis.7.9'], 'G_file_name_misc'):
    G_file_name_misc = _libs['grass_gis.7.9'].G_file_name_misc
    G_file_name_misc.argtypes = [String, String, String, String, String]
    if sizeof(c_int) == sizeof(c_void_p):
        G_file_name_misc.restype = ReturnString
    else:
        G_file_name_misc.restype = String
        G_file_name_misc.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 355
if hasattr(_libs['grass_gis.7.9'], 'G_file_name_tmp'):
    G_file_name_tmp = _libs['grass_gis.7.9'].G_file_name_tmp
    G_file_name_tmp.argtypes = [String, String, String, String]
    if sizeof(c_int) == sizeof(c_void_p):
        G_file_name_tmp.restype = ReturnString
    else:
        G_file_name_tmp.restype = String
        G_file_name_tmp.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 358
if hasattr(_libs['grass_gis.7.9'], 'G_find_file'):
    G_find_file = _libs['grass_gis.7.9'].G_find_file
    G_find_file.argtypes = [String, String, String]
    G_find_file.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 359
if hasattr(_libs['grass_gis.7.9'], 'G_find_file2'):
    G_find_file2 = _libs['grass_gis.7.9'].G_find_file2
    G_find_file2.argtypes = [String, String, String]
    G_find_file2.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 360
if hasattr(_libs['grass_gis.7.9'], 'G_find_file_misc'):
    G_find_file_misc = _libs['grass_gis.7.9'].G_find_file_misc
    G_find_file_misc.argtypes = [String, String, String, String]
    G_find_file_misc.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 361
if hasattr(_libs['grass_gis.7.9'], 'G_find_file2_misc'):
    G_find_file2_misc = _libs['grass_gis.7.9'].G_find_file2_misc
    G_find_file2_misc.argtypes = [String, String, String, String]
    G_find_file2_misc.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 365
if hasattr(_libs['grass_gis.7.9'], 'G_find_etc'):
    G_find_etc = _libs['grass_gis.7.9'].G_find_etc
    G_find_etc.argtypes = [String]
    if sizeof(c_int) == sizeof(c_void_p):
        G_find_etc.restype = ReturnString
    else:
        G_find_etc.restype = String
        G_find_etc.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 368
if hasattr(_libs['grass_gis.7.9'], 'G_find_raster'):
    G_find_raster = _libs['grass_gis.7.9'].G_find_raster
    G_find_raster.argtypes = [String, String]
    G_find_raster.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 369
if hasattr(_libs['grass_gis.7.9'], 'G_find_raster2'):
    G_find_raster2 = _libs['grass_gis.7.9'].G_find_raster2
    G_find_raster2.argtypes = [String, String]
    G_find_raster2.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 372
if hasattr(_libs['grass_gis.7.9'], 'G_find_raster3d'):
    G_find_raster3d = _libs['grass_gis.7.9'].G_find_raster3d
    G_find_raster3d.argtypes = [String, String]
    G_find_raster3d.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 375
if hasattr(_libs['grass_gis.7.9'], 'G_find_vector'):
    G_find_vector = _libs['grass_gis.7.9'].G_find_vector
    G_find_vector.argtypes = [String, String]
    G_find_vector.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 376
if hasattr(_libs['grass_gis.7.9'], 'G_find_vector2'):
    G_find_vector2 = _libs['grass_gis.7.9'].G_find_vector2
    G_find_vector2.argtypes = [String, String]
    G_find_vector2.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 379
if hasattr(_libs['grass_gis.7.9'], 'G_begin_geodesic_equation'):
    G_begin_geodesic_equation = _libs['grass_gis.7.9'].G_begin_geodesic_equation
    G_begin_geodesic_equation.argtypes = [c_double, c_double, c_double, c_double]
    G_begin_geodesic_equation.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 380
if hasattr(_libs['grass_gis.7.9'], 'G_geodesic_lat_from_lon'):
    G_geodesic_lat_from_lon = _libs['grass_gis.7.9'].G_geodesic_lat_from_lon
    G_geodesic_lat_from_lon.argtypes = [c_double]
    G_geodesic_lat_from_lon.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 383
if hasattr(_libs['grass_gis.7.9'], 'G_begin_geodesic_distance'):
    G_begin_geodesic_distance = _libs['grass_gis.7.9'].G_begin_geodesic_distance
    G_begin_geodesic_distance.argtypes = [c_double, c_double]
    G_begin_geodesic_distance.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 384
if hasattr(_libs['grass_gis.7.9'], 'G_set_geodesic_distance_lat1'):
    G_set_geodesic_distance_lat1 = _libs['grass_gis.7.9'].G_set_geodesic_distance_lat1
    G_set_geodesic_distance_lat1.argtypes = [c_double]
    G_set_geodesic_distance_lat1.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 385
if hasattr(_libs['grass_gis.7.9'], 'G_set_geodesic_distance_lat2'):
    G_set_geodesic_distance_lat2 = _libs['grass_gis.7.9'].G_set_geodesic_distance_lat2
    G_set_geodesic_distance_lat2.argtypes = [c_double]
    G_set_geodesic_distance_lat2.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 386
if hasattr(_libs['grass_gis.7.9'], 'G_geodesic_distance_lon_to_lon'):
    G_geodesic_distance_lon_to_lon = _libs['grass_gis.7.9'].G_geodesic_distance_lon_to_lon
    G_geodesic_distance_lon_to_lon.argtypes = [c_double, c_double]
    G_geodesic_distance_lon_to_lon.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 387
if hasattr(_libs['grass_gis.7.9'], 'G_geodesic_distance'):
    G_geodesic_distance = _libs['grass_gis.7.9'].G_geodesic_distance
    G_geodesic_distance.argtypes = [c_double, c_double, c_double, c_double]
    G_geodesic_distance.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 390
if hasattr(_libs['grass_gis.7.9'], 'G_get_ellipsoid_parameters'):
    G_get_ellipsoid_parameters = _libs['grass_gis.7.9'].G_get_ellipsoid_parameters
    G_get_ellipsoid_parameters.argtypes = [POINTER(c_double), POINTER(c_double)]
    G_get_ellipsoid_parameters.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 391
if hasattr(_libs['grass_gis.7.9'], 'G_get_spheroid_by_name'):
    G_get_spheroid_by_name = _libs['grass_gis.7.9'].G_get_spheroid_by_name
    G_get_spheroid_by_name.argtypes = [String, POINTER(c_double), POINTER(c_double), POINTER(c_double)]
    G_get_spheroid_by_name.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 392
if hasattr(_libs['grass_gis.7.9'], 'G_get_ellipsoid_by_name'):
    G_get_ellipsoid_by_name = _libs['grass_gis.7.9'].G_get_ellipsoid_by_name
    G_get_ellipsoid_by_name.argtypes = [String, POINTER(c_double), POINTER(c_double)]
    G_get_ellipsoid_by_name.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 393
if hasattr(_libs['grass_gis.7.9'], 'G_ellipsoid_name'):
    G_ellipsoid_name = _libs['grass_gis.7.9'].G_ellipsoid_name
    G_ellipsoid_name.argtypes = [c_int]
    G_ellipsoid_name.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 394
if hasattr(_libs['grass_gis.7.9'], 'G_ellipsoid_description'):
    G_ellipsoid_description = _libs['grass_gis.7.9'].G_ellipsoid_description
    G_ellipsoid_description.argtypes = [c_int]
    G_ellipsoid_description.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 395
if hasattr(_libs['grass_gis.7.9'], 'G_read_ellipsoid_table'):
    G_read_ellipsoid_table = _libs['grass_gis.7.9'].G_read_ellipsoid_table
    G_read_ellipsoid_table.argtypes = [c_int]
    G_read_ellipsoid_table.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 398
if hasattr(_libs['grass_gis.7.9'], 'G_get_projunits'):
    G_get_projunits = _libs['grass_gis.7.9'].G_get_projunits
    G_get_projunits.argtypes = []
    G_get_projunits.restype = POINTER(struct_Key_Value)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 399
if hasattr(_libs['grass_gis.7.9'], 'G_get_projinfo'):
    G_get_projinfo = _libs['grass_gis.7.9'].G_get_projinfo
    G_get_projinfo.argtypes = []
    G_get_projinfo.restype = POINTER(struct_Key_Value)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 400
if hasattr(_libs['grass_gis.7.9'], 'G_get_projepsg'):
    G_get_projepsg = _libs['grass_gis.7.9'].G_get_projepsg
    G_get_projepsg.argtypes = []
    G_get_projepsg.restype = POINTER(struct_Key_Value)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 401
if hasattr(_libs['grass_gis.7.9'], 'G_get_projwkt'):
    G_get_projwkt = _libs['grass_gis.7.9'].G_get_projwkt
    G_get_projwkt.argtypes = []
    if sizeof(c_int) == sizeof(c_void_p):
        G_get_projwkt.restype = ReturnString
    else:
        G_get_projwkt.restype = String
        G_get_projwkt.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 402
if hasattr(_libs['grass_gis.7.9'], 'G_get_projsrid'):
    G_get_projsrid = _libs['grass_gis.7.9'].G_get_projsrid
    G_get_projsrid.argtypes = []
    if sizeof(c_int) == sizeof(c_void_p):
        G_get_projsrid.restype = ReturnString
    else:
        G_get_projsrid.restype = String
        G_get_projsrid.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 405
if hasattr(_libs['grass_gis.7.9'], 'G_get_window'):
    G_get_window = _libs['grass_gis.7.9'].G_get_window
    G_get_window.argtypes = [POINTER(struct_Cell_head)]
    G_get_window.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 406
if hasattr(_libs['grass_gis.7.9'], 'G_get_default_window'):
    G_get_default_window = _libs['grass_gis.7.9'].G_get_default_window
    G_get_default_window.argtypes = [POINTER(struct_Cell_head)]
    G_get_default_window.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 407
if hasattr(_libs['grass_gis.7.9'], 'G_get_element_window'):
    G_get_element_window = _libs['grass_gis.7.9'].G_get_element_window
    G_get_element_window.argtypes = [POINTER(struct_Cell_head), String, String, String]
    G_get_element_window.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 411
if hasattr(_libs['grass_gis.7.9'], 'G_getl'):
    G_getl = _libs['grass_gis.7.9'].G_getl
    G_getl.argtypes = [String, c_int, POINTER(FILE)]
    G_getl.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 412
if hasattr(_libs['grass_gis.7.9'], 'G_getl2'):
    G_getl2 = _libs['grass_gis.7.9'].G_getl2
    G_getl2.argtypes = [String, c_int, POINTER(FILE)]
    G_getl2.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 415
if hasattr(_libs['grass_gis.7.9'], 'G_gisbase'):
    G_gisbase = _libs['grass_gis.7.9'].G_gisbase
    G_gisbase.argtypes = []
    G_gisbase.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 418
if hasattr(_libs['grass_gis.7.9'], 'G_gisdbase'):
    G_gisdbase = _libs['grass_gis.7.9'].G_gisdbase
    G_gisdbase.argtypes = []
    G_gisdbase.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 421
if hasattr(_libs['grass_gis.7.9'], 'G__gisinit'):
    G__gisinit = _libs['grass_gis.7.9'].G__gisinit
    G__gisinit.argtypes = [String, String]
    G__gisinit.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 422
if hasattr(_libs['grass_gis.7.9'], 'G__no_gisinit'):
    G__no_gisinit = _libs['grass_gis.7.9'].G__no_gisinit
    G__no_gisinit.argtypes = [String]
    G__no_gisinit.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 423
if hasattr(_libs['grass_gis.7.9'], 'G_init_all'):
    G_init_all = _libs['grass_gis.7.9'].G_init_all
    G_init_all.argtypes = []
    G_init_all.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 426
if hasattr(_libs['grass_gis.7.9'], 'G_add_error_handler'):
    G_add_error_handler = _libs['grass_gis.7.9'].G_add_error_handler
    G_add_error_handler.argtypes = [CFUNCTYPE(UNCHECKED(None), POINTER(None)), POINTER(None)]
    G_add_error_handler.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 427
if hasattr(_libs['grass_gis.7.9'], 'G_remove_error_handler'):
    G_remove_error_handler = _libs['grass_gis.7.9'].G_remove_error_handler
    G_remove_error_handler.argtypes = [CFUNCTYPE(UNCHECKED(None), POINTER(None)), POINTER(None)]
    G_remove_error_handler.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 430
if hasattr(_libs['grass_gis.7.9'], 'G_home'):
    G_home = _libs['grass_gis.7.9'].G_home
    G_home.argtypes = []
    G_home.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 431
if hasattr(_libs['grass_gis.7.9'], 'G_config_path'):
    G_config_path = _libs['grass_gis.7.9'].G_config_path
    G_config_path.argtypes = []
    G_config_path.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 434
if hasattr(_libs['grass_gis.7.9'], 'G_init_ilist'):
    G_init_ilist = _libs['grass_gis.7.9'].G_init_ilist
    G_init_ilist.argtypes = [POINTER(struct_ilist)]
    G_init_ilist.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 435
if hasattr(_libs['grass_gis.7.9'], 'G_free_ilist'):
    G_free_ilist = _libs['grass_gis.7.9'].G_free_ilist
    G_free_ilist.argtypes = [POINTER(struct_ilist)]
    G_free_ilist.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 436
if hasattr(_libs['grass_gis.7.9'], 'G_new_ilist'):
    G_new_ilist = _libs['grass_gis.7.9'].G_new_ilist
    G_new_ilist.argtypes = []
    G_new_ilist.restype = POINTER(struct_ilist)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 437
if hasattr(_libs['grass_gis.7.9'], 'G_ilist_add'):
    G_ilist_add = _libs['grass_gis.7.9'].G_ilist_add
    G_ilist_add.argtypes = [POINTER(struct_ilist), c_int]
    G_ilist_add.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 440
if hasattr(_libs['grass_gis.7.9'], 'G_intersect_line_segments'):
    G_intersect_line_segments = _libs['grass_gis.7.9'].G_intersect_line_segments
    G_intersect_line_segments.argtypes = [c_double, c_double, c_double, c_double, c_double, c_double, c_double, c_double, POINTER(c_double), POINTER(c_double), POINTER(c_double), POINTER(c_double)]
    G_intersect_line_segments.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 445
if hasattr(_libs['grass_gis.7.9'], 'G_is_gisbase'):
    G_is_gisbase = _libs['grass_gis.7.9'].G_is_gisbase
    G_is_gisbase.argtypes = [String]
    G_is_gisbase.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 446
if hasattr(_libs['grass_gis.7.9'], 'G_is_location'):
    G_is_location = _libs['grass_gis.7.9'].G_is_location
    G_is_location.argtypes = [String]
    G_is_location.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 447
if hasattr(_libs['grass_gis.7.9'], 'G_is_mapset'):
    G_is_mapset = _libs['grass_gis.7.9'].G_is_mapset
    G_is_mapset.argtypes = [String]
    G_is_mapset.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 450
if hasattr(_libs['grass_gis.7.9'], 'G_create_key_value'):
    G_create_key_value = _libs['grass_gis.7.9'].G_create_key_value
    G_create_key_value.argtypes = []
    G_create_key_value.restype = POINTER(struct_Key_Value)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 451
if hasattr(_libs['grass_gis.7.9'], 'G_set_key_value'):
    G_set_key_value = _libs['grass_gis.7.9'].G_set_key_value
    G_set_key_value.argtypes = [String, String, POINTER(struct_Key_Value)]
    G_set_key_value.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 452
if hasattr(_libs['grass_gis.7.9'], 'G_find_key_value'):
    G_find_key_value = _libs['grass_gis.7.9'].G_find_key_value
    G_find_key_value.argtypes = [String, POINTER(struct_Key_Value)]
    G_find_key_value.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 453
if hasattr(_libs['grass_gis.7.9'], 'G_free_key_value'):
    G_free_key_value = _libs['grass_gis.7.9'].G_free_key_value
    G_free_key_value.argtypes = [POINTER(struct_Key_Value)]
    G_free_key_value.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 456
if hasattr(_libs['grass_gis.7.9'], 'G_fwrite_key_value'):
    G_fwrite_key_value = _libs['grass_gis.7.9'].G_fwrite_key_value
    G_fwrite_key_value.argtypes = [POINTER(FILE), POINTER(struct_Key_Value)]
    G_fwrite_key_value.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 457
if hasattr(_libs['grass_gis.7.9'], 'G_fread_key_value'):
    G_fread_key_value = _libs['grass_gis.7.9'].G_fread_key_value
    G_fread_key_value.argtypes = [POINTER(FILE)]
    G_fread_key_value.restype = POINTER(struct_Key_Value)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 460
if hasattr(_libs['grass_gis.7.9'], 'G_write_key_value_file'):
    G_write_key_value_file = _libs['grass_gis.7.9'].G_write_key_value_file
    G_write_key_value_file.argtypes = [String, POINTER(struct_Key_Value)]
    G_write_key_value_file.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 461
if hasattr(_libs['grass_gis.7.9'], 'G_read_key_value_file'):
    G_read_key_value_file = _libs['grass_gis.7.9'].G_read_key_value_file
    G_read_key_value_file.argtypes = [String]
    G_read_key_value_file.restype = POINTER(struct_Key_Value)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 464
if hasattr(_libs['grass_gis.7.9'], 'G_update_key_value_file'):
    G_update_key_value_file = _libs['grass_gis.7.9'].G_update_key_value_file
    G_update_key_value_file.argtypes = [String, String, String]
    G_update_key_value_file.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 465
if hasattr(_libs['grass_gis.7.9'], 'G_lookup_key_value_from_file'):
    G_lookup_key_value_from_file = _libs['grass_gis.7.9'].G_lookup_key_value_from_file
    G_lookup_key_value_from_file.argtypes = [String, String, POINTER(c_char), c_int]
    G_lookup_key_value_from_file.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 468
if hasattr(_libs['grass_gis.7.9'], 'G_legal_filename'):
    G_legal_filename = _libs['grass_gis.7.9'].G_legal_filename
    G_legal_filename.argtypes = [String]
    G_legal_filename.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 469
if hasattr(_libs['grass_gis.7.9'], 'G_check_input_output_name'):
    G_check_input_output_name = _libs['grass_gis.7.9'].G_check_input_output_name
    G_check_input_output_name.argtypes = [String, String, c_int]
    G_check_input_output_name.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 472
if hasattr(_libs['grass_gis.7.9'], 'G_set_distance_to_line_tolerance'):
    G_set_distance_to_line_tolerance = _libs['grass_gis.7.9'].G_set_distance_to_line_tolerance
    G_set_distance_to_line_tolerance.argtypes = [c_double]
    G_set_distance_to_line_tolerance.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 473
if hasattr(_libs['grass_gis.7.9'], 'G_distance2_point_to_line'):
    G_distance2_point_to_line = _libs['grass_gis.7.9'].G_distance2_point_to_line
    G_distance2_point_to_line.argtypes = [c_double, c_double, c_double, c_double, c_double, c_double]
    G_distance2_point_to_line.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 477
if hasattr(_libs['grass_gis.7.9'], 'G_list_element'):
    G_list_element = _libs['grass_gis.7.9'].G_list_element
    G_list_element.argtypes = [String, String, String, CFUNCTYPE(UNCHECKED(c_int), String, String, String)]
    G_list_element.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 479
if hasattr(_libs['grass_gis.7.9'], 'G_list'):
    G_list = _libs['grass_gis.7.9'].G_list
    G_list.argtypes = [c_int, String, String, String]
    G_list.restype = POINTER(POINTER(c_char))

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 480
if hasattr(_libs['grass_gis.7.9'], 'G_free_list'):
    G_free_list = _libs['grass_gis.7.9'].G_free_list
    G_free_list.argtypes = [POINTER(POINTER(c_char))]
    G_free_list.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 483
if hasattr(_libs['grass_gis.7.9'], 'G_lat_format'):
    G_lat_format = _libs['grass_gis.7.9'].G_lat_format
    G_lat_format.argtypes = [c_double, String]
    G_lat_format.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 484
if hasattr(_libs['grass_gis.7.9'], 'G_lat_format_string'):
    G_lat_format_string = _libs['grass_gis.7.9'].G_lat_format_string
    G_lat_format_string.argtypes = []
    G_lat_format_string.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 485
if hasattr(_libs['grass_gis.7.9'], 'G_lon_format'):
    G_lon_format = _libs['grass_gis.7.9'].G_lon_format
    G_lon_format.argtypes = [c_double, String]
    G_lon_format.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 486
if hasattr(_libs['grass_gis.7.9'], 'G_lon_format_string'):
    G_lon_format_string = _libs['grass_gis.7.9'].G_lon_format_string
    G_lon_format_string.argtypes = []
    G_lon_format_string.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 487
if hasattr(_libs['grass_gis.7.9'], 'G_llres_format'):
    G_llres_format = _libs['grass_gis.7.9'].G_llres_format
    G_llres_format.argtypes = [c_double, String]
    G_llres_format.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 488
if hasattr(_libs['grass_gis.7.9'], 'G_llres_format_string'):
    G_llres_format_string = _libs['grass_gis.7.9'].G_llres_format_string
    G_llres_format_string.argtypes = []
    G_llres_format_string.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 489
if hasattr(_libs['grass_gis.7.9'], 'G_lat_parts'):
    G_lat_parts = _libs['grass_gis.7.9'].G_lat_parts
    G_lat_parts.argtypes = [c_double, POINTER(c_int), POINTER(c_int), POINTER(c_double), String]
    G_lat_parts.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 490
if hasattr(_libs['grass_gis.7.9'], 'G_lon_parts'):
    G_lon_parts = _libs['grass_gis.7.9'].G_lon_parts
    G_lon_parts.argtypes = [c_double, POINTER(c_int), POINTER(c_int), POINTER(c_double), String]
    G_lon_parts.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 493
if hasattr(_libs['grass_gis.7.9'], 'G_lat_scan'):
    G_lat_scan = _libs['grass_gis.7.9'].G_lat_scan
    G_lat_scan.argtypes = [String, POINTER(c_double)]
    G_lat_scan.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 494
if hasattr(_libs['grass_gis.7.9'], 'G_lon_scan'):
    G_lon_scan = _libs['grass_gis.7.9'].G_lon_scan
    G_lon_scan.argtypes = [String, POINTER(c_double)]
    G_lon_scan.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 495
if hasattr(_libs['grass_gis.7.9'], 'G_llres_scan'):
    G_llres_scan = _libs['grass_gis.7.9'].G_llres_scan
    G_llres_scan.argtypes = [String, POINTER(c_double)]
    G_llres_scan.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 498
if hasattr(_libs['grass_gis.7.9'], 'G_location'):
    G_location = _libs['grass_gis.7.9'].G_location
    G_location.argtypes = []
    G_location.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 499
if hasattr(_libs['grass_gis.7.9'], 'G_location_path'):
    G_location_path = _libs['grass_gis.7.9'].G_location_path
    G_location_path.argtypes = []
    if sizeof(c_int) == sizeof(c_void_p):
        G_location_path.restype = ReturnString
    else:
        G_location_path.restype = String
        G_location_path.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 502
if hasattr(_libs['grass_gis.7.9'], 'G_srand48'):
    G_srand48 = _libs['grass_gis.7.9'].G_srand48
    G_srand48.argtypes = [c_long]
    G_srand48.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 503
if hasattr(_libs['grass_gis.7.9'], 'G_srand48_auto'):
    G_srand48_auto = _libs['grass_gis.7.9'].G_srand48_auto
    G_srand48_auto.argtypes = []
    G_srand48_auto.restype = c_long

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 504
if hasattr(_libs['grass_gis.7.9'], 'G_lrand48'):
    G_lrand48 = _libs['grass_gis.7.9'].G_lrand48
    G_lrand48.argtypes = []
    G_lrand48.restype = c_long

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 505
if hasattr(_libs['grass_gis.7.9'], 'G_mrand48'):
    G_mrand48 = _libs['grass_gis.7.9'].G_mrand48
    G_mrand48.argtypes = []
    G_mrand48.restype = c_long

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 506
if hasattr(_libs['grass_gis.7.9'], 'G_drand48'):
    G_drand48 = _libs['grass_gis.7.9'].G_drand48
    G_drand48.argtypes = []
    G_drand48.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 509
if hasattr(_libs['grass_gis.7.9'], 'G_set_ls_filter'):
    G_set_ls_filter = _libs['grass_gis.7.9'].G_set_ls_filter
    G_set_ls_filter.argtypes = [CFUNCTYPE(UNCHECKED(c_int), String, POINTER(None)), POINTER(None)]
    G_set_ls_filter.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 510
if hasattr(_libs['grass_gis.7.9'], 'G_set_ls_exclude_filter'):
    G_set_ls_exclude_filter = _libs['grass_gis.7.9'].G_set_ls_exclude_filter
    G_set_ls_exclude_filter.argtypes = [CFUNCTYPE(UNCHECKED(c_int), String, POINTER(None)), POINTER(None)]
    G_set_ls_exclude_filter.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 511
if hasattr(_libs['grass_gis.7.9'], 'G_ls2'):
    G_ls2 = _libs['grass_gis.7.9'].G_ls2
    G_ls2.argtypes = [String, POINTER(c_int)]
    G_ls2.restype = POINTER(POINTER(c_char))

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 512
if hasattr(_libs['grass_gis.7.9'], 'G_ls'):
    G_ls = _libs['grass_gis.7.9'].G_ls
    G_ls.argtypes = [String, POINTER(FILE)]
    G_ls.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 513
if hasattr(_libs['grass_gis.7.9'], 'G_ls_format'):
    G_ls_format = _libs['grass_gis.7.9'].G_ls_format
    G_ls_format.argtypes = [POINTER(POINTER(c_char)), c_int, c_int, POINTER(FILE)]
    G_ls_format.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 517
if hasattr(_libs['grass_gis.7.9'], 'G_ls_regex_filter'):
    G_ls_regex_filter = _libs['grass_gis.7.9'].G_ls_regex_filter
    G_ls_regex_filter.argtypes = [String, c_int, c_int, c_int]
    G_ls_regex_filter.restype = POINTER(c_ubyte)
    G_ls_regex_filter.errcheck = lambda v,*a : cast(v, c_void_p)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 518
if hasattr(_libs['grass_gis.7.9'], 'G_ls_glob_filter'):
    G_ls_glob_filter = _libs['grass_gis.7.9'].G_ls_glob_filter
    G_ls_glob_filter.argtypes = [String, c_int, c_int]
    G_ls_glob_filter.restype = POINTER(c_ubyte)
    G_ls_glob_filter.errcheck = lambda v,*a : cast(v, c_void_p)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 519
if hasattr(_libs['grass_gis.7.9'], 'G_free_ls_filter'):
    G_free_ls_filter = _libs['grass_gis.7.9'].G_free_ls_filter
    G_free_ls_filter.argtypes = [POINTER(None)]
    G_free_ls_filter.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 523
if hasattr(_libs['grass_gis.7.9'], 'G_make_location'):
    G_make_location = _libs['grass_gis.7.9'].G_make_location
    G_make_location.argtypes = [String, POINTER(struct_Cell_head), POINTER(struct_Key_Value), POINTER(struct_Key_Value)]
    G_make_location.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 525
if hasattr(_libs['grass_gis.7.9'], 'G_make_location_epsg'):
    G_make_location_epsg = _libs['grass_gis.7.9'].G_make_location_epsg
    G_make_location_epsg.argtypes = [String, POINTER(struct_Cell_head), POINTER(struct_Key_Value), POINTER(struct_Key_Value), POINTER(struct_Key_Value)]
    G_make_location_epsg.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 527
if hasattr(_libs['grass_gis.7.9'], 'G_make_location_crs'):
    G_make_location_crs = _libs['grass_gis.7.9'].G_make_location_crs
    G_make_location_crs.argtypes = [String, POINTER(struct_Cell_head), POINTER(struct_Key_Value), POINTER(struct_Key_Value), POINTER(struct_Key_Value), String, String]
    G_make_location_crs.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 530
if hasattr(_libs['grass_gis.7.9'], 'G_write_projsrid'):
    G_write_projsrid = _libs['grass_gis.7.9'].G_write_projsrid
    G_write_projsrid.argtypes = [String, String]
    G_write_projsrid.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 531
if hasattr(_libs['grass_gis.7.9'], 'G_write_projwkt'):
    G_write_projwkt = _libs['grass_gis.7.9'].G_write_projwkt
    G_write_projwkt.argtypes = [String, String]
    G_write_projwkt.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 532
if hasattr(_libs['grass_gis.7.9'], 'G_compare_projections'):
    G_compare_projections = _libs['grass_gis.7.9'].G_compare_projections
    G_compare_projections.argtypes = [POINTER(struct_Key_Value), POINTER(struct_Key_Value), POINTER(struct_Key_Value), POINTER(struct_Key_Value)]
    G_compare_projections.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 536
if hasattr(_libs['grass_gis.7.9'], 'G_make_mapset'):
    G_make_mapset = _libs['grass_gis.7.9'].G_make_mapset
    G_make_mapset.argtypes = [String, String, String]
    G_make_mapset.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 539
if hasattr(_libs['grass_gis.7.9'], 'G_tolcase'):
    G_tolcase = _libs['grass_gis.7.9'].G_tolcase
    G_tolcase.argtypes = [String]
    if sizeof(c_int) == sizeof(c_void_p):
        G_tolcase.restype = ReturnString
    else:
        G_tolcase.restype = String
        G_tolcase.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 540
if hasattr(_libs['grass_gis.7.9'], 'G_toucase'):
    G_toucase = _libs['grass_gis.7.9'].G_toucase
    G_toucase.argtypes = [String]
    if sizeof(c_int) == sizeof(c_void_p):
        G_toucase.restype = ReturnString
    else:
        G_toucase.restype = String
        G_toucase.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 543
if hasattr(_libs['grass_gis.7.9'], 'G_mapset'):
    G_mapset = _libs['grass_gis.7.9'].G_mapset
    G_mapset.argtypes = []
    G_mapset.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 544
if hasattr(_libs['grass_gis.7.9'], 'G_mapset_path'):
    G_mapset_path = _libs['grass_gis.7.9'].G_mapset_path
    G_mapset_path.argtypes = []
    if sizeof(c_int) == sizeof(c_void_p):
        G_mapset_path.restype = ReturnString
    else:
        G_mapset_path.restype = String
        G_mapset_path.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 547
if hasattr(_libs['grass_gis.7.9'], 'G_make_mapset_element'):
    G_make_mapset_element = _libs['grass_gis.7.9'].G_make_mapset_element
    G_make_mapset_element.argtypes = [String]
    G_make_mapset_element.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 548
if hasattr(_libs['grass_gis.7.9'], 'G_make_mapset_element_tmp'):
    G_make_mapset_element_tmp = _libs['grass_gis.7.9'].G_make_mapset_element_tmp
    G_make_mapset_element_tmp.argtypes = [String]
    G_make_mapset_element_tmp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 549
if hasattr(_libs['grass_gis.7.9'], 'G__make_mapset_element_misc'):
    G__make_mapset_element_misc = _libs['grass_gis.7.9'].G__make_mapset_element_misc
    G__make_mapset_element_misc.argtypes = [String, String]
    G__make_mapset_element_misc.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 550
if hasattr(_libs['grass_gis.7.9'], 'G_mapset_permissions'):
    G_mapset_permissions = _libs['grass_gis.7.9'].G_mapset_permissions
    G_mapset_permissions.argtypes = [String]
    G_mapset_permissions.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 551
if hasattr(_libs['grass_gis.7.9'], 'G_mapset_permissions2'):
    G_mapset_permissions2 = _libs['grass_gis.7.9'].G_mapset_permissions2
    G_mapset_permissions2.argtypes = [String, String, String]
    G_mapset_permissions2.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 554
if hasattr(_libs['grass_gis.7.9'], 'G_get_mapset_name'):
    G_get_mapset_name = _libs['grass_gis.7.9'].G_get_mapset_name
    G_get_mapset_name.argtypes = [c_int]
    G_get_mapset_name.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 555
if hasattr(_libs['grass_gis.7.9'], 'G_create_alt_search_path'):
    G_create_alt_search_path = _libs['grass_gis.7.9'].G_create_alt_search_path
    G_create_alt_search_path.argtypes = []
    G_create_alt_search_path.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 556
if hasattr(_libs['grass_gis.7.9'], 'G_switch_search_path'):
    G_switch_search_path = _libs['grass_gis.7.9'].G_switch_search_path
    G_switch_search_path.argtypes = []
    G_switch_search_path.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 557
if hasattr(_libs['grass_gis.7.9'], 'G_reset_mapsets'):
    G_reset_mapsets = _libs['grass_gis.7.9'].G_reset_mapsets
    G_reset_mapsets.argtypes = []
    G_reset_mapsets.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 558
if hasattr(_libs['grass_gis.7.9'], 'G_get_available_mapsets'):
    G_get_available_mapsets = _libs['grass_gis.7.9'].G_get_available_mapsets
    G_get_available_mapsets.argtypes = []
    G_get_available_mapsets.restype = POINTER(POINTER(c_char))

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 559
if hasattr(_libs['grass_gis.7.9'], 'G_add_mapset_to_search_path'):
    G_add_mapset_to_search_path = _libs['grass_gis.7.9'].G_add_mapset_to_search_path
    G_add_mapset_to_search_path.argtypes = [String]
    G_add_mapset_to_search_path.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 560
if hasattr(_libs['grass_gis.7.9'], 'G_is_mapset_in_search_path'):
    G_is_mapset_in_search_path = _libs['grass_gis.7.9'].G_is_mapset_in_search_path
    G_is_mapset_in_search_path.argtypes = [String]
    G_is_mapset_in_search_path.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 563
if hasattr(_libs['grass_gis.7.9'], 'G_myname'):
    G_myname = _libs['grass_gis.7.9'].G_myname
    G_myname.argtypes = []
    if sizeof(c_int) == sizeof(c_void_p):
        G_myname.restype = ReturnString
    else:
        G_myname.restype = String
        G_myname.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 566
if hasattr(_libs['grass_gis.7.9'], 'G_color_values'):
    G_color_values = _libs['grass_gis.7.9'].G_color_values
    G_color_values.argtypes = [String, POINTER(c_float), POINTER(c_float), POINTER(c_float)]
    G_color_values.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 567
if hasattr(_libs['grass_gis.7.9'], 'G_color_name'):
    G_color_name = _libs['grass_gis.7.9'].G_color_name
    G_color_name.argtypes = [c_int]
    G_color_name.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 570
if hasattr(_libs['grass_gis.7.9'], 'G_newlines_to_spaces'):
    G_newlines_to_spaces = _libs['grass_gis.7.9'].G_newlines_to_spaces
    G_newlines_to_spaces.argtypes = [String]
    G_newlines_to_spaces.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 573
if hasattr(_libs['grass_gis.7.9'], 'G_name_is_fully_qualified'):
    G_name_is_fully_qualified = _libs['grass_gis.7.9'].G_name_is_fully_qualified
    G_name_is_fully_qualified.argtypes = [String, String, String]
    G_name_is_fully_qualified.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 574
if hasattr(_libs['grass_gis.7.9'], 'G_fully_qualified_name'):
    G_fully_qualified_name = _libs['grass_gis.7.9'].G_fully_qualified_name
    G_fully_qualified_name.argtypes = [String, String]
    if sizeof(c_int) == sizeof(c_void_p):
        G_fully_qualified_name.restype = ReturnString
    else:
        G_fully_qualified_name.restype = String
        G_fully_qualified_name.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 575
if hasattr(_libs['grass_gis.7.9'], 'G_unqualified_name'):
    G_unqualified_name = _libs['grass_gis.7.9'].G_unqualified_name
    G_unqualified_name.argtypes = [String, String, String, String]
    G_unqualified_name.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 578
if hasattr(_libs['grass_gis.7.9'], 'G_open_new'):
    G_open_new = _libs['grass_gis.7.9'].G_open_new
    G_open_new.argtypes = [String, String]
    G_open_new.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 579
if hasattr(_libs['grass_gis.7.9'], 'G_open_old'):
    G_open_old = _libs['grass_gis.7.9'].G_open_old
    G_open_old.argtypes = [String, String, String]
    G_open_old.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 580
if hasattr(_libs['grass_gis.7.9'], 'G_open_update'):
    G_open_update = _libs['grass_gis.7.9'].G_open_update
    G_open_update.argtypes = [String, String]
    G_open_update.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 581
if hasattr(_libs['grass_gis.7.9'], 'G_fopen_new'):
    G_fopen_new = _libs['grass_gis.7.9'].G_fopen_new
    G_fopen_new.argtypes = [String, String]
    G_fopen_new.restype = POINTER(FILE)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 582
if hasattr(_libs['grass_gis.7.9'], 'G_fopen_old'):
    G_fopen_old = _libs['grass_gis.7.9'].G_fopen_old
    G_fopen_old.argtypes = [String, String, String]
    G_fopen_old.restype = POINTER(FILE)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 583
if hasattr(_libs['grass_gis.7.9'], 'G_fopen_append'):
    G_fopen_append = _libs['grass_gis.7.9'].G_fopen_append
    G_fopen_append.argtypes = [String, String]
    G_fopen_append.restype = POINTER(FILE)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 584
if hasattr(_libs['grass_gis.7.9'], 'G_fopen_modify'):
    G_fopen_modify = _libs['grass_gis.7.9'].G_fopen_modify
    G_fopen_modify.argtypes = [String, String]
    G_fopen_modify.restype = POINTER(FILE)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 587
if hasattr(_libs['grass_gis.7.9'], 'G_open_new_misc'):
    G_open_new_misc = _libs['grass_gis.7.9'].G_open_new_misc
    G_open_new_misc.argtypes = [String, String, String]
    G_open_new_misc.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 588
if hasattr(_libs['grass_gis.7.9'], 'G_open_old_misc'):
    G_open_old_misc = _libs['grass_gis.7.9'].G_open_old_misc
    G_open_old_misc.argtypes = [String, String, String, String]
    G_open_old_misc.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 589
if hasattr(_libs['grass_gis.7.9'], 'G_open_update_misc'):
    G_open_update_misc = _libs['grass_gis.7.9'].G_open_update_misc
    G_open_update_misc.argtypes = [String, String, String]
    G_open_update_misc.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 590
if hasattr(_libs['grass_gis.7.9'], 'G_fopen_new_misc'):
    G_fopen_new_misc = _libs['grass_gis.7.9'].G_fopen_new_misc
    G_fopen_new_misc.argtypes = [String, String, String]
    G_fopen_new_misc.restype = POINTER(FILE)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 591
if hasattr(_libs['grass_gis.7.9'], 'G_fopen_old_misc'):
    G_fopen_old_misc = _libs['grass_gis.7.9'].G_fopen_old_misc
    G_fopen_old_misc.argtypes = [String, String, String, String]
    G_fopen_old_misc.restype = POINTER(FILE)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 593
if hasattr(_libs['grass_gis.7.9'], 'G_fopen_append_misc'):
    G_fopen_append_misc = _libs['grass_gis.7.9'].G_fopen_append_misc
    G_fopen_append_misc.argtypes = [String, String, String]
    G_fopen_append_misc.restype = POINTER(FILE)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 594
if hasattr(_libs['grass_gis.7.9'], 'G_fopen_modify_misc'):
    G_fopen_modify_misc = _libs['grass_gis.7.9'].G_fopen_modify_misc
    G_fopen_modify_misc.argtypes = [String, String, String]
    G_fopen_modify_misc.restype = POINTER(FILE)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 597
if hasattr(_libs['grass_gis.7.9'], 'G_check_overwrite'):
    G_check_overwrite = _libs['grass_gis.7.9'].G_check_overwrite
    G_check_overwrite.argtypes = [c_int, POINTER(POINTER(c_char))]
    G_check_overwrite.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 600
if hasattr(_libs['grass_gis.7.9'], 'G_open_pager'):
    G_open_pager = _libs['grass_gis.7.9'].G_open_pager
    G_open_pager.argtypes = [POINTER(struct_Popen)]
    G_open_pager.restype = POINTER(FILE)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 601
if hasattr(_libs['grass_gis.7.9'], 'G_close_pager'):
    G_close_pager = _libs['grass_gis.7.9'].G_close_pager
    G_close_pager.argtypes = [POINTER(struct_Popen)]
    G_close_pager.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 602
if hasattr(_libs['grass_gis.7.9'], 'G_open_mail'):
    G_open_mail = _libs['grass_gis.7.9'].G_open_mail
    G_open_mail.argtypes = [POINTER(struct_Popen)]
    G_open_mail.restype = POINTER(FILE)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 603
if hasattr(_libs['grass_gis.7.9'], 'G_close_mail'):
    G_close_mail = _libs['grass_gis.7.9'].G_close_mail
    G_close_mail.argtypes = [POINTER(struct_Popen)]
    G_close_mail.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 606
if hasattr(_libs['grass_gis.7.9'], 'G_disable_interactive'):
    G_disable_interactive = _libs['grass_gis.7.9'].G_disable_interactive
    G_disable_interactive.argtypes = []
    G_disable_interactive.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 607
if hasattr(_libs['grass_gis.7.9'], 'G_define_module'):
    G_define_module = _libs['grass_gis.7.9'].G_define_module
    G_define_module.argtypes = []
    G_define_module.restype = POINTER(struct_GModule)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 608
if hasattr(_libs['grass_gis.7.9'], 'G_define_flag'):
    G_define_flag = _libs['grass_gis.7.9'].G_define_flag
    G_define_flag.argtypes = []
    G_define_flag.restype = POINTER(struct_Flag)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 609
if hasattr(_libs['grass_gis.7.9'], 'G_define_option'):
    G_define_option = _libs['grass_gis.7.9'].G_define_option
    G_define_option.argtypes = []
    G_define_option.restype = POINTER(struct_Option)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 610
if hasattr(_libs['grass_gis.7.9'], 'G_define_standard_option'):
    G_define_standard_option = _libs['grass_gis.7.9'].G_define_standard_option
    G_define_standard_option.argtypes = [c_int]
    G_define_standard_option.restype = POINTER(struct_Option)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 611
if hasattr(_libs['grass_gis.7.9'], 'G_define_standard_flag'):
    G_define_standard_flag = _libs['grass_gis.7.9'].G_define_standard_flag
    G_define_standard_flag.argtypes = [c_int]
    G_define_standard_flag.restype = POINTER(struct_Flag)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 612
if hasattr(_libs['grass_gis.7.9'], 'G_parser'):
    G_parser = _libs['grass_gis.7.9'].G_parser
    G_parser.argtypes = [c_int, POINTER(POINTER(c_char))]
    G_parser.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 613
if hasattr(_libs['grass_gis.7.9'], 'G_usage'):
    G_usage = _libs['grass_gis.7.9'].G_usage
    G_usage.argtypes = []
    G_usage.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 614
if hasattr(_libs['grass_gis.7.9'], 'G_recreate_command'):
    G_recreate_command = _libs['grass_gis.7.9'].G_recreate_command
    G_recreate_command.argtypes = []
    if sizeof(c_int) == sizeof(c_void_p):
        G_recreate_command.restype = ReturnString
    else:
        G_recreate_command.restype = String
        G_recreate_command.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 615
if hasattr(_libs['grass_gis.7.9'], 'G_add_keyword'):
    G_add_keyword = _libs['grass_gis.7.9'].G_add_keyword
    G_add_keyword.argtypes = [String]
    G_add_keyword.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 616
if hasattr(_libs['grass_gis.7.9'], 'G_set_keywords'):
    G_set_keywords = _libs['grass_gis.7.9'].G_set_keywords
    G_set_keywords.argtypes = [String]
    G_set_keywords.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 617
if hasattr(_libs['grass_gis.7.9'], 'G_get_overwrite'):
    G_get_overwrite = _libs['grass_gis.7.9'].G_get_overwrite
    G_get_overwrite.argtypes = []
    G_get_overwrite.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 618
if hasattr(_libs['grass_gis.7.9'], 'G_option_to_separator'):
    G_option_to_separator = _libs['grass_gis.7.9'].G_option_to_separator
    G_option_to_separator.argtypes = [POINTER(struct_Option)]
    if sizeof(c_int) == sizeof(c_void_p):
        G_option_to_separator.restype = ReturnString
    else:
        G_option_to_separator.restype = String
        G_option_to_separator.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 619
if hasattr(_libs['grass_gis.7.9'], 'G_open_option_file'):
    G_open_option_file = _libs['grass_gis.7.9'].G_open_option_file
    G_open_option_file.argtypes = [POINTER(struct_Option)]
    G_open_option_file.restype = POINTER(FILE)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 620
if hasattr(_libs['grass_gis.7.9'], 'G_close_option_file'):
    G_close_option_file = _libs['grass_gis.7.9'].G_close_option_file
    G_close_option_file.argtypes = [POINTER(FILE)]
    G_close_option_file.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 623
if hasattr(_libs['grass_gis.7.9'], 'G_option_rule'):
    G_option_rule = _libs['grass_gis.7.9'].G_option_rule
    G_option_rule.argtypes = [c_int, c_int, POINTER(POINTER(None))]
    G_option_rule.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 624
if hasattr(_libs['grass_gis.7.9'], 'G_option_exclusive'):
    _func = _libs['grass_gis.7.9'].G_option_exclusive
    _restype = None
    _errcheck = None
    _argtypes = [POINTER(None)]
    G_option_exclusive = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 625
if hasattr(_libs['grass_gis.7.9'], 'G_option_required'):
    _func = _libs['grass_gis.7.9'].G_option_required
    _restype = None
    _errcheck = None
    _argtypes = [POINTER(None)]
    G_option_required = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 626
if hasattr(_libs['grass_gis.7.9'], 'G_option_requires'):
    _func = _libs['grass_gis.7.9'].G_option_requires
    _restype = None
    _errcheck = None
    _argtypes = [POINTER(None)]
    G_option_requires = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 627
if hasattr(_libs['grass_gis.7.9'], 'G_option_requires_all'):
    _func = _libs['grass_gis.7.9'].G_option_requires_all
    _restype = None
    _errcheck = None
    _argtypes = [POINTER(None)]
    G_option_requires_all = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 628
if hasattr(_libs['grass_gis.7.9'], 'G_option_excludes'):
    _func = _libs['grass_gis.7.9'].G_option_excludes
    _restype = None
    _errcheck = None
    _argtypes = [POINTER(None)]
    G_option_excludes = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 629
if hasattr(_libs['grass_gis.7.9'], 'G_option_collective'):
    _func = _libs['grass_gis.7.9'].G_option_collective
    _restype = None
    _errcheck = None
    _argtypes = [POINTER(None)]
    G_option_collective = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 632
if hasattr(_libs['grass_gis.7.9'], 'G_mkdir'):
    G_mkdir = _libs['grass_gis.7.9'].G_mkdir
    G_mkdir.argtypes = [String]
    G_mkdir.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 633
if hasattr(_libs['grass_gis.7.9'], 'G_is_dirsep'):
    G_is_dirsep = _libs['grass_gis.7.9'].G_is_dirsep
    G_is_dirsep.argtypes = [c_char]
    G_is_dirsep.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 634
if hasattr(_libs['grass_gis.7.9'], 'G_is_absolute_path'):
    G_is_absolute_path = _libs['grass_gis.7.9'].G_is_absolute_path
    G_is_absolute_path.argtypes = [String]
    G_is_absolute_path.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 635
if hasattr(_libs['grass_gis.7.9'], 'G_convert_dirseps_to_host'):
    G_convert_dirseps_to_host = _libs['grass_gis.7.9'].G_convert_dirseps_to_host
    G_convert_dirseps_to_host.argtypes = [String]
    if sizeof(c_int) == sizeof(c_void_p):
        G_convert_dirseps_to_host.restype = ReturnString
    else:
        G_convert_dirseps_to_host.restype = String
        G_convert_dirseps_to_host.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 636
if hasattr(_libs['grass_gis.7.9'], 'G_convert_dirseps_from_host'):
    G_convert_dirseps_from_host = _libs['grass_gis.7.9'].G_convert_dirseps_from_host
    G_convert_dirseps_from_host.argtypes = [String]
    if sizeof(c_int) == sizeof(c_void_p):
        G_convert_dirseps_from_host.restype = ReturnString
    else:
        G_convert_dirseps_from_host.restype = String
        G_convert_dirseps_from_host.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 637
if hasattr(_libs['grass_gis.7.9'], 'G_lstat'):
    G_lstat = _libs['grass_gis.7.9'].G_lstat
    G_lstat.argtypes = [String, POINTER(struct__stati64)]
    G_lstat.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 638
if hasattr(_libs['grass_gis.7.9'], 'G_stat'):
    G_stat = _libs['grass_gis.7.9'].G_stat
    G_stat.argtypes = [String, POINTER(struct__stati64)]
    G_stat.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 639
if hasattr(_libs['grass_gis.7.9'], 'G_owner'):
    G_owner = _libs['grass_gis.7.9'].G_owner
    G_owner.argtypes = [String]
    G_owner.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 642
if hasattr(_libs['grass_gis.7.9'], 'G_percent'):
    G_percent = _libs['grass_gis.7.9'].G_percent
    G_percent.argtypes = [c_long, c_long, c_int]
    G_percent.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 643
if hasattr(_libs['grass_gis.7.9'], 'G_percent_reset'):
    G_percent_reset = _libs['grass_gis.7.9'].G_percent_reset
    G_percent_reset.argtypes = []
    G_percent_reset.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 644
if hasattr(_libs['grass_gis.7.9'], 'G_progress'):
    G_progress = _libs['grass_gis.7.9'].G_progress
    G_progress.argtypes = [c_long, c_int]
    G_progress.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 645
if hasattr(_libs['grass_gis.7.9'], 'G_set_percent_routine'):
    G_set_percent_routine = _libs['grass_gis.7.9'].G_set_percent_routine
    G_set_percent_routine.argtypes = [CFUNCTYPE(UNCHECKED(c_int), c_int)]
    G_set_percent_routine.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 646
if hasattr(_libs['grass_gis.7.9'], 'G_unset_percent_routine'):
    G_unset_percent_routine = _libs['grass_gis.7.9'].G_unset_percent_routine
    G_unset_percent_routine.argtypes = []
    G_unset_percent_routine.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 649
if hasattr(_libs['grass_gis.7.9'], 'G_popen_clear'):
    G_popen_clear = _libs['grass_gis.7.9'].G_popen_clear
    G_popen_clear.argtypes = [POINTER(struct_Popen)]
    G_popen_clear.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 650
if hasattr(_libs['grass_gis.7.9'], 'G_popen_write'):
    G_popen_write = _libs['grass_gis.7.9'].G_popen_write
    G_popen_write.argtypes = [POINTER(struct_Popen), String, POINTER(POINTER(c_char))]
    G_popen_write.restype = POINTER(FILE)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 651
if hasattr(_libs['grass_gis.7.9'], 'G_popen_read'):
    G_popen_read = _libs['grass_gis.7.9'].G_popen_read
    G_popen_read.argtypes = [POINTER(struct_Popen), String, POINTER(POINTER(c_char))]
    G_popen_read.restype = POINTER(FILE)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 652
if hasattr(_libs['grass_gis.7.9'], 'G_popen_close'):
    G_popen_close = _libs['grass_gis.7.9'].G_popen_close
    G_popen_close.argtypes = [POINTER(struct_Popen)]
    G_popen_close.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 655
if hasattr(_libs['grass_gis.7.9'], 'G_setup_plot'):
    G_setup_plot = _libs['grass_gis.7.9'].G_setup_plot
    G_setup_plot.argtypes = [c_double, c_double, c_double, c_double, CFUNCTYPE(UNCHECKED(c_int), c_int, c_int), CFUNCTYPE(UNCHECKED(c_int), c_int, c_int)]
    G_setup_plot.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 657
if hasattr(_libs['grass_gis.7.9'], 'G_setup_fill'):
    G_setup_fill = _libs['grass_gis.7.9'].G_setup_fill
    G_setup_fill.argtypes = [c_int]
    G_setup_fill.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 658
if hasattr(_libs['grass_gis.7.9'], 'G_plot_where_xy'):
    G_plot_where_xy = _libs['grass_gis.7.9'].G_plot_where_xy
    G_plot_where_xy.argtypes = [c_double, c_double, POINTER(c_int), POINTER(c_int)]
    G_plot_where_xy.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 659
if hasattr(_libs['grass_gis.7.9'], 'G_plot_where_en'):
    G_plot_where_en = _libs['grass_gis.7.9'].G_plot_where_en
    G_plot_where_en.argtypes = [c_int, c_int, POINTER(c_double), POINTER(c_double)]
    G_plot_where_en.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 660
if hasattr(_libs['grass_gis.7.9'], 'G_plot_point'):
    G_plot_point = _libs['grass_gis.7.9'].G_plot_point
    G_plot_point.argtypes = [c_double, c_double]
    G_plot_point.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 661
if hasattr(_libs['grass_gis.7.9'], 'G_plot_line'):
    G_plot_line = _libs['grass_gis.7.9'].G_plot_line
    G_plot_line.argtypes = [c_double, c_double, c_double, c_double]
    G_plot_line.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 662
if hasattr(_libs['grass_gis.7.9'], 'G_plot_line2'):
    G_plot_line2 = _libs['grass_gis.7.9'].G_plot_line2
    G_plot_line2.argtypes = [c_double, c_double, c_double, c_double]
    G_plot_line2.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 663
if hasattr(_libs['grass_gis.7.9'], 'G_plot_polygon'):
    G_plot_polygon = _libs['grass_gis.7.9'].G_plot_polygon
    G_plot_polygon.argtypes = [POINTER(c_double), POINTER(c_double), c_int]
    G_plot_polygon.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 664
if hasattr(_libs['grass_gis.7.9'], 'G_plot_area'):
    G_plot_area = _libs['grass_gis.7.9'].G_plot_area
    G_plot_area.argtypes = [POINTER(POINTER(c_double)), POINTER(POINTER(c_double)), POINTER(c_int), c_int]
    G_plot_area.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 665
if hasattr(_libs['grass_gis.7.9'], 'G_plot_fx'):
    G_plot_fx = _libs['grass_gis.7.9'].G_plot_fx
    G_plot_fx.argtypes = [CFUNCTYPE(UNCHECKED(c_double), c_double), c_double, c_double]
    G_plot_fx.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 668
if hasattr(_libs['grass_gis.7.9'], 'G_pole_in_polygon'):
    G_pole_in_polygon = _libs['grass_gis.7.9'].G_pole_in_polygon
    G_pole_in_polygon.argtypes = [POINTER(c_double), POINTER(c_double), c_int]
    G_pole_in_polygon.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 671
if hasattr(_libs['grass_gis.7.9'], 'G_program_name'):
    G_program_name = _libs['grass_gis.7.9'].G_program_name
    G_program_name.argtypes = []
    G_program_name.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 672
if hasattr(_libs['grass_gis.7.9'], 'G_original_program_name'):
    G_original_program_name = _libs['grass_gis.7.9'].G_original_program_name
    G_original_program_name.argtypes = []
    G_original_program_name.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 673
if hasattr(_libs['grass_gis.7.9'], 'G_set_program_name'):
    G_set_program_name = _libs['grass_gis.7.9'].G_set_program_name
    G_set_program_name.argtypes = [String]
    G_set_program_name.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 676
if hasattr(_libs['grass_gis.7.9'], 'G_projection'):
    G_projection = _libs['grass_gis.7.9'].G_projection
    G_projection.argtypes = []
    G_projection.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 679
if hasattr(_libs['grass_gis.7.9'], 'G_projection_units'):
    G_projection_units = _libs['grass_gis.7.9'].G_projection_units
    G_projection_units.argtypes = [c_int]
    G_projection_units.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 680
if hasattr(_libs['grass_gis.7.9'], 'G_projection_name'):
    G_projection_name = _libs['grass_gis.7.9'].G_projection_name
    G_projection_name.argtypes = [c_int]
    G_projection_name.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 683
if hasattr(_libs['grass_gis.7.9'], 'G_database_unit_name'):
    G_database_unit_name = _libs['grass_gis.7.9'].G_database_unit_name
    G_database_unit_name.argtypes = [c_int]
    G_database_unit_name.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 684
if hasattr(_libs['grass_gis.7.9'], 'G_database_unit'):
    G_database_unit = _libs['grass_gis.7.9'].G_database_unit
    G_database_unit.argtypes = []
    G_database_unit.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 685
if hasattr(_libs['grass_gis.7.9'], 'G_database_projection_name'):
    G_database_projection_name = _libs['grass_gis.7.9'].G_database_projection_name
    G_database_projection_name.argtypes = []
    G_database_projection_name.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 686
if hasattr(_libs['grass_gis.7.9'], 'G_database_datum_name'):
    G_database_datum_name = _libs['grass_gis.7.9'].G_database_datum_name
    G_database_datum_name.argtypes = []
    G_database_datum_name.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 687
if hasattr(_libs['grass_gis.7.9'], 'G_database_ellipse_name'):
    G_database_ellipse_name = _libs['grass_gis.7.9'].G_database_ellipse_name
    G_database_ellipse_name.argtypes = []
    G_database_ellipse_name.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 688
if hasattr(_libs['grass_gis.7.9'], 'G_database_units_to_meters_factor'):
    G_database_units_to_meters_factor = _libs['grass_gis.7.9'].G_database_units_to_meters_factor
    G_database_units_to_meters_factor.argtypes = []
    G_database_units_to_meters_factor.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 689
if hasattr(_libs['grass_gis.7.9'], 'G_database_epsg_code'):
    G_database_epsg_code = _libs['grass_gis.7.9'].G_database_epsg_code
    G_database_epsg_code.argtypes = []
    G_database_epsg_code.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 692
if hasattr(_libs['grass_gis.7.9'], 'G_put_window'):
    G_put_window = _libs['grass_gis.7.9'].G_put_window
    G_put_window.argtypes = [POINTER(struct_Cell_head)]
    G_put_window.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 693
if hasattr(_libs['grass_gis.7.9'], 'G_put_element_window'):
    G_put_element_window = _libs['grass_gis.7.9'].G_put_element_window
    G_put_element_window.argtypes = [POINTER(struct_Cell_head), String, String]
    G_put_element_window.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 696
if hasattr(_libs['grass_gis.7.9'], 'G_putenv'):
    G_putenv = _libs['grass_gis.7.9'].G_putenv
    G_putenv.argtypes = [String, String]
    G_putenv.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 699
if hasattr(_libs['grass_gis.7.9'], 'G_meridional_radius_of_curvature'):
    G_meridional_radius_of_curvature = _libs['grass_gis.7.9'].G_meridional_radius_of_curvature
    G_meridional_radius_of_curvature.argtypes = [c_double, c_double, c_double]
    G_meridional_radius_of_curvature.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 700
if hasattr(_libs['grass_gis.7.9'], 'G_transverse_radius_of_curvature'):
    G_transverse_radius_of_curvature = _libs['grass_gis.7.9'].G_transverse_radius_of_curvature
    G_transverse_radius_of_curvature.argtypes = [c_double, c_double, c_double]
    G_transverse_radius_of_curvature.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 701
if hasattr(_libs['grass_gis.7.9'], 'G_radius_of_conformal_tangent_sphere'):
    G_radius_of_conformal_tangent_sphere = _libs['grass_gis.7.9'].G_radius_of_conformal_tangent_sphere
    G_radius_of_conformal_tangent_sphere.argtypes = [c_double, c_double, c_double]
    G_radius_of_conformal_tangent_sphere.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 704
if hasattr(_libs['grass_gis.7.9'], 'G__read_Cell_head'):
    G__read_Cell_head = _libs['grass_gis.7.9'].G__read_Cell_head
    G__read_Cell_head.argtypes = [POINTER(FILE), POINTER(struct_Cell_head), c_int]
    G__read_Cell_head.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 705
if hasattr(_libs['grass_gis.7.9'], 'G__read_Cell_head_array'):
    G__read_Cell_head_array = _libs['grass_gis.7.9'].G__read_Cell_head_array
    G__read_Cell_head_array.argtypes = [POINTER(POINTER(c_char)), POINTER(struct_Cell_head), c_int]
    G__read_Cell_head_array.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 708
if hasattr(_libs['grass_gis.7.9'], 'G_remove'):
    G_remove = _libs['grass_gis.7.9'].G_remove
    G_remove.argtypes = [String, String]
    G_remove.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 709
if hasattr(_libs['grass_gis.7.9'], 'G_remove_misc'):
    G_remove_misc = _libs['grass_gis.7.9'].G_remove_misc
    G_remove_misc.argtypes = [String, String, String]
    G_remove_misc.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 710
if hasattr(_libs['grass_gis.7.9'], 'G_recursive_remove'):
    G_recursive_remove = _libs['grass_gis.7.9'].G_recursive_remove
    G_recursive_remove.argtypes = [String]
    G_recursive_remove.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 713
if hasattr(_libs['grass_gis.7.9'], 'G_rename_file'):
    G_rename_file = _libs['grass_gis.7.9'].G_rename_file
    G_rename_file.argtypes = [String, String]
    G_rename_file.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 714
if hasattr(_libs['grass_gis.7.9'], 'G_rename'):
    G_rename = _libs['grass_gis.7.9'].G_rename
    G_rename.argtypes = [String, String, String]
    G_rename.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 717
if hasattr(_libs['grass_gis.7.9'], 'G_begin_rhumbline_equation'):
    G_begin_rhumbline_equation = _libs['grass_gis.7.9'].G_begin_rhumbline_equation
    G_begin_rhumbline_equation.argtypes = [c_double, c_double, c_double, c_double]
    G_begin_rhumbline_equation.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 718
if hasattr(_libs['grass_gis.7.9'], 'G_rhumbline_lat_from_lon'):
    G_rhumbline_lat_from_lon = _libs['grass_gis.7.9'].G_rhumbline_lat_from_lon
    G_rhumbline_lat_from_lon.argtypes = [c_double]
    G_rhumbline_lat_from_lon.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 721
if hasattr(_libs['grass_gis.7.9'], 'G_rotate_around_point'):
    G_rotate_around_point = _libs['grass_gis.7.9'].G_rotate_around_point
    G_rotate_around_point.argtypes = [c_double, c_double, POINTER(c_double), POINTER(c_double), c_double]
    G_rotate_around_point.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 722
if hasattr(_libs['grass_gis.7.9'], 'G_rotate_around_point_int'):
    G_rotate_around_point_int = _libs['grass_gis.7.9'].G_rotate_around_point_int
    G_rotate_around_point_int.argtypes = [c_int, c_int, POINTER(c_int), POINTER(c_int), c_double]
    G_rotate_around_point_int.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 725
if hasattr(_libs['grass_gis.7.9'], 'G_ftell'):
    G_ftell = _libs['grass_gis.7.9'].G_ftell
    G_ftell.argtypes = [POINTER(FILE)]
    G_ftell.restype = off_t

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 726
if hasattr(_libs['grass_gis.7.9'], 'G_fseek'):
    G_fseek = _libs['grass_gis.7.9'].G_fseek
    G_fseek.argtypes = [POINTER(FILE), off_t, c_int]
    G_fseek.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 729
if hasattr(_libs['grass_gis.7.9'], 'G_get_set_window'):
    G_get_set_window = _libs['grass_gis.7.9'].G_get_set_window
    G_get_set_window.argtypes = [POINTER(struct_Cell_head)]
    G_get_set_window.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 730
if hasattr(_libs['grass_gis.7.9'], 'G_set_window'):
    G_set_window = _libs['grass_gis.7.9'].G_set_window
    G_set_window.argtypes = [POINTER(struct_Cell_head)]
    G_set_window.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 731
if hasattr(_libs['grass_gis.7.9'], 'G_unset_window'):
    G_unset_window = _libs['grass_gis.7.9'].G_unset_window
    G_unset_window.argtypes = []
    G_unset_window.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 734
if hasattr(_libs['grass_gis.7.9'], 'G_shortest_way'):
    G_shortest_way = _libs['grass_gis.7.9'].G_shortest_way
    G_shortest_way.argtypes = [POINTER(c_double), POINTER(c_double)]
    G_shortest_way.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 737
if hasattr(_libs['grass_gis.7.9'], 'G_sleep'):
    G_sleep = _libs['grass_gis.7.9'].G_sleep
    G_sleep.argtypes = [c_uint]
    G_sleep.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 740
if hasattr(_libs['grass_gis.7.9'], 'G_snprintf'):
    _func = _libs['grass_gis.7.9'].G_snprintf
    _restype = c_int
    _errcheck = None
    _argtypes = [String, c_size_t, String]
    G_snprintf = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 744
if hasattr(_libs['grass_gis.7.9'], 'G_strcasecmp'):
    G_strcasecmp = _libs['grass_gis.7.9'].G_strcasecmp
    G_strcasecmp.argtypes = [String, String]
    G_strcasecmp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 745
if hasattr(_libs['grass_gis.7.9'], 'G_strncasecmp'):
    G_strncasecmp = _libs['grass_gis.7.9'].G_strncasecmp
    G_strncasecmp.argtypes = [String, String, c_int]
    G_strncasecmp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 746
if hasattr(_libs['grass_gis.7.9'], 'G_store'):
    G_store = _libs['grass_gis.7.9'].G_store
    G_store.argtypes = [String]
    if sizeof(c_int) == sizeof(c_void_p):
        G_store.restype = ReturnString
    else:
        G_store.restype = String
        G_store.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 747
if hasattr(_libs['grass_gis.7.9'], 'G_store_upper'):
    G_store_upper = _libs['grass_gis.7.9'].G_store_upper
    G_store_upper.argtypes = [String]
    if sizeof(c_int) == sizeof(c_void_p):
        G_store_upper.restype = ReturnString
    else:
        G_store_upper.restype = String
        G_store_upper.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 748
if hasattr(_libs['grass_gis.7.9'], 'G_store_lower'):
    G_store_lower = _libs['grass_gis.7.9'].G_store_lower
    G_store_lower.argtypes = [String]
    if sizeof(c_int) == sizeof(c_void_p):
        G_store_lower.restype = ReturnString
    else:
        G_store_lower.restype = String
        G_store_lower.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 749
if hasattr(_libs['grass_gis.7.9'], 'G_strchg'):
    G_strchg = _libs['grass_gis.7.9'].G_strchg
    G_strchg.argtypes = [String, c_char, c_char]
    if sizeof(c_int) == sizeof(c_void_p):
        G_strchg.restype = ReturnString
    else:
        G_strchg.restype = String
        G_strchg.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 750
if hasattr(_libs['grass_gis.7.9'], 'G_str_replace'):
    G_str_replace = _libs['grass_gis.7.9'].G_str_replace
    G_str_replace.argtypes = [String, String, String]
    if sizeof(c_int) == sizeof(c_void_p):
        G_str_replace.restype = ReturnString
    else:
        G_str_replace.restype = String
        G_str_replace.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 751
if hasattr(_libs['grass_gis.7.9'], 'G_strip'):
    G_strip = _libs['grass_gis.7.9'].G_strip
    G_strip.argtypes = [String]
    G_strip.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 752
if hasattr(_libs['grass_gis.7.9'], 'G_chop'):
    G_chop = _libs['grass_gis.7.9'].G_chop
    G_chop.argtypes = [String]
    if sizeof(c_int) == sizeof(c_void_p):
        G_chop.restype = ReturnString
    else:
        G_chop.restype = String
        G_chop.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 753
if hasattr(_libs['grass_gis.7.9'], 'G_str_to_upper'):
    G_str_to_upper = _libs['grass_gis.7.9'].G_str_to_upper
    G_str_to_upper.argtypes = [String]
    G_str_to_upper.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 754
if hasattr(_libs['grass_gis.7.9'], 'G_str_to_lower'):
    G_str_to_lower = _libs['grass_gis.7.9'].G_str_to_lower
    G_str_to_lower.argtypes = [String]
    G_str_to_lower.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 755
if hasattr(_libs['grass_gis.7.9'], 'G_str_to_sql'):
    G_str_to_sql = _libs['grass_gis.7.9'].G_str_to_sql
    G_str_to_sql.argtypes = [String]
    G_str_to_sql.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 756
if hasattr(_libs['grass_gis.7.9'], 'G_squeeze'):
    G_squeeze = _libs['grass_gis.7.9'].G_squeeze
    G_squeeze.argtypes = [String]
    G_squeeze.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 757
if hasattr(_libs['grass_gis.7.9'], 'G_strcasestr'):
    G_strcasestr = _libs['grass_gis.7.9'].G_strcasestr
    G_strcasestr.argtypes = [String, String]
    if sizeof(c_int) == sizeof(c_void_p):
        G_strcasestr.restype = ReturnString
    else:
        G_strcasestr.restype = String
        G_strcasestr.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 760
if hasattr(_libs['grass_gis.7.9'], 'G_init_tempfile'):
    G_init_tempfile = _libs['grass_gis.7.9'].G_init_tempfile
    G_init_tempfile.argtypes = []
    G_init_tempfile.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 761
if hasattr(_libs['grass_gis.7.9'], 'G_tempfile'):
    G_tempfile = _libs['grass_gis.7.9'].G_tempfile
    G_tempfile.argtypes = []
    if sizeof(c_int) == sizeof(c_void_p):
        G_tempfile.restype = ReturnString
    else:
        G_tempfile.restype = String
        G_tempfile.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 762
if hasattr(_libs['grass_gis.7.9'], 'G_tempfile_pid'):
    G_tempfile_pid = _libs['grass_gis.7.9'].G_tempfile_pid
    G_tempfile_pid.argtypes = [c_int]
    if sizeof(c_int) == sizeof(c_void_p):
        G_tempfile_pid.restype = ReturnString
    else:
        G_tempfile_pid.restype = String
        G_tempfile_pid.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 763
if hasattr(_libs['grass_gis.7.9'], 'G_temp_element'):
    G_temp_element = _libs['grass_gis.7.9'].G_temp_element
    G_temp_element.argtypes = [String]
    G_temp_element.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 764
if hasattr(_libs['grass_gis.7.9'], 'G__temp_element'):
    G__temp_element = _libs['grass_gis.7.9'].G__temp_element
    G__temp_element.argtypes = [String, c_int]
    G__temp_element.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 767
if hasattr(_libs['grass_gis.7.9'], 'G_mktemp'):
    G_mktemp = _libs['grass_gis.7.9'].G_mktemp
    G_mktemp.argtypes = [String]
    if sizeof(c_int) == sizeof(c_void_p):
        G_mktemp.restype = ReturnString
    else:
        G_mktemp.restype = String
        G_mktemp.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 768
if hasattr(_libs['grass_gis.7.9'], 'G_mkstemp'):
    G_mkstemp = _libs['grass_gis.7.9'].G_mkstemp
    G_mkstemp.argtypes = [String, c_int, c_int]
    G_mkstemp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 769
if hasattr(_libs['grass_gis.7.9'], 'G_mkstemp_fp'):
    G_mkstemp_fp = _libs['grass_gis.7.9'].G_mkstemp_fp
    G_mkstemp_fp.argtypes = [String, c_int, c_int]
    G_mkstemp_fp.restype = POINTER(FILE)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 772
if hasattr(_libs['grass_gis.7.9'], 'G_init_timestamp'):
    G_init_timestamp = _libs['grass_gis.7.9'].G_init_timestamp
    G_init_timestamp.argtypes = [POINTER(struct_TimeStamp)]
    G_init_timestamp.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 773
if hasattr(_libs['grass_gis.7.9'], 'G_set_timestamp'):
    G_set_timestamp = _libs['grass_gis.7.9'].G_set_timestamp
    G_set_timestamp.argtypes = [POINTER(struct_TimeStamp), POINTER(struct_DateTime)]
    G_set_timestamp.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 774
if hasattr(_libs['grass_gis.7.9'], 'G_set_timestamp_range'):
    G_set_timestamp_range = _libs['grass_gis.7.9'].G_set_timestamp_range
    G_set_timestamp_range.argtypes = [POINTER(struct_TimeStamp), POINTER(struct_DateTime), POINTER(struct_DateTime)]
    G_set_timestamp_range.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 776
if hasattr(_libs['grass_gis.7.9'], 'G_write_timestamp'):
    G_write_timestamp = _libs['grass_gis.7.9'].G_write_timestamp
    G_write_timestamp.argtypes = [POINTER(FILE), POINTER(struct_TimeStamp)]
    G_write_timestamp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 777
if hasattr(_libs['grass_gis.7.9'], 'G_get_timestamps'):
    G_get_timestamps = _libs['grass_gis.7.9'].G_get_timestamps
    G_get_timestamps.argtypes = [POINTER(struct_TimeStamp), POINTER(struct_DateTime), POINTER(struct_DateTime), POINTER(c_int)]
    G_get_timestamps.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 778
if hasattr(_libs['grass_gis.7.9'], 'G_format_timestamp'):
    G_format_timestamp = _libs['grass_gis.7.9'].G_format_timestamp
    G_format_timestamp.argtypes = [POINTER(struct_TimeStamp), String]
    G_format_timestamp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 779
if hasattr(_libs['grass_gis.7.9'], 'G_scan_timestamp'):
    G_scan_timestamp = _libs['grass_gis.7.9'].G_scan_timestamp
    G_scan_timestamp.argtypes = [POINTER(struct_TimeStamp), String]
    G_scan_timestamp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 780
if hasattr(_libs['grass_gis.7.9'], 'G_has_raster_timestamp'):
    G_has_raster_timestamp = _libs['grass_gis.7.9'].G_has_raster_timestamp
    G_has_raster_timestamp.argtypes = [String, String]
    G_has_raster_timestamp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 781
if hasattr(_libs['grass_gis.7.9'], 'G_read_raster_timestamp'):
    G_read_raster_timestamp = _libs['grass_gis.7.9'].G_read_raster_timestamp
    G_read_raster_timestamp.argtypes = [String, String, POINTER(struct_TimeStamp)]
    G_read_raster_timestamp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 782
if hasattr(_libs['grass_gis.7.9'], 'G_write_raster_timestamp'):
    G_write_raster_timestamp = _libs['grass_gis.7.9'].G_write_raster_timestamp
    G_write_raster_timestamp.argtypes = [String, POINTER(struct_TimeStamp)]
    G_write_raster_timestamp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 783
if hasattr(_libs['grass_gis.7.9'], 'G_remove_raster_timestamp'):
    G_remove_raster_timestamp = _libs['grass_gis.7.9'].G_remove_raster_timestamp
    G_remove_raster_timestamp.argtypes = [String]
    G_remove_raster_timestamp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 784
if hasattr(_libs['grass_gis.7.9'], 'G_has_vector_timestamp'):
    G_has_vector_timestamp = _libs['grass_gis.7.9'].G_has_vector_timestamp
    G_has_vector_timestamp.argtypes = [String, String, String]
    G_has_vector_timestamp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 785
if hasattr(_libs['grass_gis.7.9'], 'G_read_vector_timestamp'):
    G_read_vector_timestamp = _libs['grass_gis.7.9'].G_read_vector_timestamp
    G_read_vector_timestamp.argtypes = [String, String, String, POINTER(struct_TimeStamp)]
    G_read_vector_timestamp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 786
if hasattr(_libs['grass_gis.7.9'], 'G_write_vector_timestamp'):
    G_write_vector_timestamp = _libs['grass_gis.7.9'].G_write_vector_timestamp
    G_write_vector_timestamp.argtypes = [String, String, POINTER(struct_TimeStamp)]
    G_write_vector_timestamp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 787
if hasattr(_libs['grass_gis.7.9'], 'G_remove_vector_timestamp'):
    G_remove_vector_timestamp = _libs['grass_gis.7.9'].G_remove_vector_timestamp
    G_remove_vector_timestamp.argtypes = [String, String]
    G_remove_vector_timestamp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 788
if hasattr(_libs['grass_gis.7.9'], 'G_has_raster3d_timestamp'):
    G_has_raster3d_timestamp = _libs['grass_gis.7.9'].G_has_raster3d_timestamp
    G_has_raster3d_timestamp.argtypes = [String, String]
    G_has_raster3d_timestamp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 789
if hasattr(_libs['grass_gis.7.9'], 'G_read_raster3d_timestamp'):
    G_read_raster3d_timestamp = _libs['grass_gis.7.9'].G_read_raster3d_timestamp
    G_read_raster3d_timestamp.argtypes = [String, String, POINTER(struct_TimeStamp)]
    G_read_raster3d_timestamp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 790
if hasattr(_libs['grass_gis.7.9'], 'G_remove_raster3d_timestamp'):
    G_remove_raster3d_timestamp = _libs['grass_gis.7.9'].G_remove_raster3d_timestamp
    G_remove_raster3d_timestamp.argtypes = [String]
    G_remove_raster3d_timestamp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 791
if hasattr(_libs['grass_gis.7.9'], 'G_write_raster3d_timestamp'):
    G_write_raster3d_timestamp = _libs['grass_gis.7.9'].G_write_raster3d_timestamp
    G_write_raster3d_timestamp.argtypes = [String, POINTER(struct_TimeStamp)]
    G_write_raster3d_timestamp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 794
if hasattr(_libs['grass_gis.7.9'], 'G_tokenize'):
    G_tokenize = _libs['grass_gis.7.9'].G_tokenize
    G_tokenize.argtypes = [String, String]
    G_tokenize.restype = POINTER(POINTER(c_char))

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 795
if hasattr(_libs['grass_gis.7.9'], 'G_tokenize2'):
    G_tokenize2 = _libs['grass_gis.7.9'].G_tokenize2
    G_tokenize2.argtypes = [String, String, String]
    G_tokenize2.restype = POINTER(POINTER(c_char))

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 796
if hasattr(_libs['grass_gis.7.9'], 'G_number_of_tokens'):
    G_number_of_tokens = _libs['grass_gis.7.9'].G_number_of_tokens
    G_number_of_tokens.argtypes = [POINTER(POINTER(c_char))]
    G_number_of_tokens.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 797
if hasattr(_libs['grass_gis.7.9'], 'G_free_tokens'):
    G_free_tokens = _libs['grass_gis.7.9'].G_free_tokens
    G_free_tokens.argtypes = [POINTER(POINTER(c_char))]
    G_free_tokens.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 800
if hasattr(_libs['grass_gis.7.9'], 'G_trim_decimal'):
    G_trim_decimal = _libs['grass_gis.7.9'].G_trim_decimal
    G_trim_decimal.argtypes = [String]
    G_trim_decimal.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 803
if hasattr(_libs['grass_gis.7.9'], 'G_meters_to_units_factor'):
    G_meters_to_units_factor = _libs['grass_gis.7.9'].G_meters_to_units_factor
    G_meters_to_units_factor.argtypes = [c_int]
    G_meters_to_units_factor.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 804
if hasattr(_libs['grass_gis.7.9'], 'G_meters_to_units_factor_sq'):
    G_meters_to_units_factor_sq = _libs['grass_gis.7.9'].G_meters_to_units_factor_sq
    G_meters_to_units_factor_sq.argtypes = [c_int]
    G_meters_to_units_factor_sq.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 805
if hasattr(_libs['grass_gis.7.9'], 'G_get_units_name'):
    G_get_units_name = _libs['grass_gis.7.9'].G_get_units_name
    G_get_units_name.argtypes = [c_int, c_int, c_int]
    G_get_units_name.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 806
if hasattr(_libs['grass_gis.7.9'], 'G_units'):
    G_units = _libs['grass_gis.7.9'].G_units
    G_units.argtypes = [String]
    G_units.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 807
if hasattr(_libs['grass_gis.7.9'], 'G_is_units_type_spatial'):
    G_is_units_type_spatial = _libs['grass_gis.7.9'].G_is_units_type_spatial
    G_is_units_type_spatial.argtypes = [c_int]
    G_is_units_type_spatial.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 808
if hasattr(_libs['grass_gis.7.9'], 'G_is_units_type_temporal'):
    G_is_units_type_temporal = _libs['grass_gis.7.9'].G_is_units_type_temporal
    G_is_units_type_temporal.argtypes = [c_int]
    G_is_units_type_temporal.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 816
if hasattr(_libs['grass_gis.7.9'], 'G_verbose'):
    G_verbose = _libs['grass_gis.7.9'].G_verbose
    G_verbose.argtypes = []
    G_verbose.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 817
if hasattr(_libs['grass_gis.7.9'], 'G_verbose_min'):
    G_verbose_min = _libs['grass_gis.7.9'].G_verbose_min
    G_verbose_min.argtypes = []
    G_verbose_min.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 818
if hasattr(_libs['grass_gis.7.9'], 'G_verbose_std'):
    G_verbose_std = _libs['grass_gis.7.9'].G_verbose_std
    G_verbose_std.argtypes = []
    G_verbose_std.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 819
if hasattr(_libs['grass_gis.7.9'], 'G_verbose_max'):
    G_verbose_max = _libs['grass_gis.7.9'].G_verbose_max
    G_verbose_max.argtypes = []
    G_verbose_max.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 820
if hasattr(_libs['grass_gis.7.9'], 'G_set_verbose'):
    G_set_verbose = _libs['grass_gis.7.9'].G_set_verbose
    G_set_verbose.argtypes = [c_int]
    G_set_verbose.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 823
if hasattr(_libs['grass_gis.7.9'], 'G_3dview_warning'):
    G_3dview_warning = _libs['grass_gis.7.9'].G_3dview_warning
    G_3dview_warning.argtypes = [c_int]
    G_3dview_warning.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 824
if hasattr(_libs['grass_gis.7.9'], 'G_get_3dview_defaults'):
    G_get_3dview_defaults = _libs['grass_gis.7.9'].G_get_3dview_defaults
    G_get_3dview_defaults.argtypes = [POINTER(struct_G_3dview), POINTER(struct_Cell_head)]
    G_get_3dview_defaults.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 825
if hasattr(_libs['grass_gis.7.9'], 'G_put_3dview'):
    G_put_3dview = _libs['grass_gis.7.9'].G_put_3dview
    G_put_3dview.argtypes = [String, String, POINTER(struct_G_3dview), POINTER(struct_Cell_head)]
    G_put_3dview.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 827
if hasattr(_libs['grass_gis.7.9'], 'G_get_3dview'):
    G_get_3dview = _libs['grass_gis.7.9'].G_get_3dview
    G_get_3dview.argtypes = [String, String, POINTER(struct_G_3dview)]
    G_get_3dview.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 830
if hasattr(_libs['grass_gis.7.9'], 'G_whoami'):
    G_whoami = _libs['grass_gis.7.9'].G_whoami
    G_whoami.argtypes = []
    G_whoami.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 833
if hasattr(_libs['grass_gis.7.9'], 'G_adjust_window_to_box'):
    G_adjust_window_to_box = _libs['grass_gis.7.9'].G_adjust_window_to_box
    G_adjust_window_to_box.argtypes = [POINTER(struct_Cell_head), POINTER(struct_Cell_head), c_int, c_int]
    G_adjust_window_to_box.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 837
if hasattr(_libs['grass_gis.7.9'], 'G_format_northing'):
    G_format_northing = _libs['grass_gis.7.9'].G_format_northing
    G_format_northing.argtypes = [c_double, String, c_int]
    G_format_northing.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 838
if hasattr(_libs['grass_gis.7.9'], 'G_format_easting'):
    G_format_easting = _libs['grass_gis.7.9'].G_format_easting
    G_format_easting.argtypes = [c_double, String, c_int]
    G_format_easting.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 839
if hasattr(_libs['grass_gis.7.9'], 'G_format_resolution'):
    G_format_resolution = _libs['grass_gis.7.9'].G_format_resolution
    G_format_resolution.argtypes = [c_double, String, c_int]
    G_format_resolution.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 842
if hasattr(_libs['grass_gis.7.9'], 'G_point_in_region'):
    G_point_in_region = _libs['grass_gis.7.9'].G_point_in_region
    G_point_in_region.argtypes = [c_double, c_double]
    G_point_in_region.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 843
if hasattr(_libs['grass_gis.7.9'], 'G_point_in_window'):
    G_point_in_window = _libs['grass_gis.7.9'].G_point_in_window
    G_point_in_window.argtypes = [c_double, c_double, POINTER(struct_Cell_head)]
    G_point_in_window.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 846
if hasattr(_libs['grass_gis.7.9'], 'G_limit_east'):
    G_limit_east = _libs['grass_gis.7.9'].G_limit_east
    G_limit_east.argtypes = [POINTER(c_double), c_int]
    G_limit_east.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 847
if hasattr(_libs['grass_gis.7.9'], 'G_limit_west'):
    G_limit_west = _libs['grass_gis.7.9'].G_limit_west
    G_limit_west.argtypes = [POINTER(c_double), c_int]
    G_limit_west.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 848
if hasattr(_libs['grass_gis.7.9'], 'G_limit_north'):
    G_limit_north = _libs['grass_gis.7.9'].G_limit_north
    G_limit_north.argtypes = [POINTER(c_double), c_int]
    G_limit_north.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 849
if hasattr(_libs['grass_gis.7.9'], 'G_limit_south'):
    G_limit_south = _libs['grass_gis.7.9'].G_limit_south
    G_limit_south.argtypes = [POINTER(c_double), c_int]
    G_limit_south.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 852
if hasattr(_libs['grass_gis.7.9'], 'G_window_overlap'):
    G_window_overlap = _libs['grass_gis.7.9'].G_window_overlap
    G_window_overlap.argtypes = [POINTER(struct_Cell_head), c_double, c_double, c_double, c_double]
    G_window_overlap.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 854
if hasattr(_libs['grass_gis.7.9'], 'G_window_percentage_overlap'):
    G_window_percentage_overlap = _libs['grass_gis.7.9'].G_window_percentage_overlap
    G_window_percentage_overlap.argtypes = [POINTER(struct_Cell_head), c_double, c_double, c_double, c_double]
    G_window_percentage_overlap.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 858
if hasattr(_libs['grass_gis.7.9'], 'G_scan_northing'):
    G_scan_northing = _libs['grass_gis.7.9'].G_scan_northing
    G_scan_northing.argtypes = [String, POINTER(c_double), c_int]
    G_scan_northing.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 859
if hasattr(_libs['grass_gis.7.9'], 'G_scan_easting'):
    G_scan_easting = _libs['grass_gis.7.9'].G_scan_easting
    G_scan_easting.argtypes = [String, POINTER(c_double), c_int]
    G_scan_easting.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 860
if hasattr(_libs['grass_gis.7.9'], 'G_scan_resolution'):
    G_scan_resolution = _libs['grass_gis.7.9'].G_scan_resolution
    G_scan_resolution.argtypes = [String, POINTER(c_double), c_int]
    G_scan_resolution.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 863
if hasattr(_libs['grass_gis.7.9'], 'G_adjust_east_longitude'):
    G_adjust_east_longitude = _libs['grass_gis.7.9'].G_adjust_east_longitude
    G_adjust_east_longitude.argtypes = [c_double, c_double]
    G_adjust_east_longitude.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 864
if hasattr(_libs['grass_gis.7.9'], 'G_adjust_easting'):
    G_adjust_easting = _libs['grass_gis.7.9'].G_adjust_easting
    G_adjust_easting.argtypes = [c_double, POINTER(struct_Cell_head)]
    G_adjust_easting.restype = c_double

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 865
if hasattr(_libs['grass_gis.7.9'], 'G__init_window'):
    G__init_window = _libs['grass_gis.7.9'].G__init_window
    G__init_window.argtypes = []
    G__init_window.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 868
if hasattr(_libs['grass_gis.7.9'], 'G_begin_execute'):
    G_begin_execute = _libs['grass_gis.7.9'].G_begin_execute
    G_begin_execute.argtypes = [CFUNCTYPE(UNCHECKED(None), POINTER(None)), POINTER(None), POINTER(POINTER(None)), c_int]
    G_begin_execute.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 869
if hasattr(_libs['grass_gis.7.9'], 'G_end_execute'):
    G_end_execute = _libs['grass_gis.7.9'].G_end_execute
    G_end_execute.argtypes = [POINTER(POINTER(None))]
    G_end_execute.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 870
if hasattr(_libs['grass_gis.7.9'], 'G_init_workers'):
    G_init_workers = _libs['grass_gis.7.9'].G_init_workers
    G_init_workers.argtypes = []
    G_init_workers.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 871
if hasattr(_libs['grass_gis.7.9'], 'G_finish_workers'):
    G_finish_workers = _libs['grass_gis.7.9'].G_finish_workers
    G_finish_workers.argtypes = []
    G_finish_workers.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 874
if hasattr(_libs['grass_gis.7.9'], 'G__write_Cell_head'):
    G__write_Cell_head = _libs['grass_gis.7.9'].G__write_Cell_head
    G__write_Cell_head.argtypes = [POINTER(FILE), POINTER(struct_Cell_head), c_int]
    G__write_Cell_head.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 875
if hasattr(_libs['grass_gis.7.9'], 'G__write_Cell_head3'):
    G__write_Cell_head3 = _libs['grass_gis.7.9'].G__write_Cell_head3
    G__write_Cell_head3.argtypes = [POINTER(FILE), POINTER(struct_Cell_head), c_int]
    G__write_Cell_head3.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 878
if hasattr(_libs['grass_gis.7.9'], 'G_write_zeros'):
    G_write_zeros = _libs['grass_gis.7.9'].G_write_zeros
    G_write_zeros.argtypes = [c_int, c_size_t]
    G_write_zeros.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 881
if hasattr(_libs['grass_gis.7.9'], 'G_xdr_get_int'):
    G_xdr_get_int = _libs['grass_gis.7.9'].G_xdr_get_int
    G_xdr_get_int.argtypes = [POINTER(c_int), POINTER(None)]
    G_xdr_get_int.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 882
if hasattr(_libs['grass_gis.7.9'], 'G_xdr_put_int'):
    G_xdr_put_int = _libs['grass_gis.7.9'].G_xdr_put_int
    G_xdr_put_int.argtypes = [POINTER(None), POINTER(c_int)]
    G_xdr_put_int.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 883
if hasattr(_libs['grass_gis.7.9'], 'G_xdr_get_float'):
    G_xdr_get_float = _libs['grass_gis.7.9'].G_xdr_get_float
    G_xdr_get_float.argtypes = [POINTER(c_float), POINTER(None)]
    G_xdr_get_float.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 884
if hasattr(_libs['grass_gis.7.9'], 'G_xdr_put_float'):
    G_xdr_put_float = _libs['grass_gis.7.9'].G_xdr_put_float
    G_xdr_put_float.argtypes = [POINTER(None), POINTER(c_float)]
    G_xdr_put_float.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 885
if hasattr(_libs['grass_gis.7.9'], 'G_xdr_get_double'):
    G_xdr_get_double = _libs['grass_gis.7.9'].G_xdr_get_double
    G_xdr_get_double.argtypes = [POINTER(c_double), POINTER(None)]
    G_xdr_get_double.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 886
if hasattr(_libs['grass_gis.7.9'], 'G_xdr_put_double'):
    G_xdr_put_double = _libs['grass_gis.7.9'].G_xdr_put_double
    G_xdr_put_double.argtypes = [POINTER(None), POINTER(c_double)]
    G_xdr_put_double.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 889
if hasattr(_libs['grass_gis.7.9'], 'G_zero'):
    G_zero = _libs['grass_gis.7.9'].G_zero
    G_zero.argtypes = [POINTER(None), c_int]
    G_zero.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 892
if hasattr(_libs['grass_gis.7.9'], 'G_zone'):
    G_zone = _libs['grass_gis.7.9'].G_zone
    G_zone.argtypes = []
    G_zone.restype = c_int

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 33
class struct_color_rgb(Structure):
    pass

struct_color_rgb.__slots__ = [
    'r',
    'g',
    'b',
]
struct_color_rgb._fields_ = [
    ('r', c_ubyte),
    ('g', c_ubyte),
    ('b', c_ubyte),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 38
class struct_color_name(Structure):
    pass

struct_color_name.__slots__ = [
    'name',
    'number',
]
struct_color_name._fields_ = [
    ('name', String),
    ('number', c_int),
]

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/colors.h: 4
if hasattr(_libs['grass_gis.7.9'], 'G_num_standard_colors'):
    G_num_standard_colors = _libs['grass_gis.7.9'].G_num_standard_colors
    G_num_standard_colors.argtypes = []
    G_num_standard_colors.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/colors.h: 5
if hasattr(_libs['grass_gis.7.9'], 'G_standard_color_rgb'):
    G_standard_color_rgb = _libs['grass_gis.7.9'].G_standard_color_rgb
    G_standard_color_rgb.argtypes = [c_int]
    G_standard_color_rgb.restype = struct_color_rgb

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/colors.h: 6
if hasattr(_libs['grass_gis.7.9'], 'G_num_standard_color_names'):
    G_num_standard_color_names = _libs['grass_gis.7.9'].G_num_standard_color_names
    G_num_standard_color_names.argtypes = []
    G_num_standard_color_names.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/colors.h: 7
if hasattr(_libs['grass_gis.7.9'], 'G_standard_color_name'):
    G_standard_color_name = _libs['grass_gis.7.9'].G_standard_color_name
    G_standard_color_name.argtypes = [c_int]
    G_standard_color_name.restype = POINTER(struct_color_name)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/colors.h: 8
if hasattr(_libs['grass_gis.7.9'], 'G_str_to_color'):
    G_str_to_color = _libs['grass_gis.7.9'].G_str_to_color
    G_str_to_color.argtypes = [String, POINTER(c_int), POINTER(c_int), POINTER(c_int)]
    G_str_to_color.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/datetime.h: 10
try:
    DATETIME_YEAR = 101
except:
    pass

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/datetime.h: 11
try:
    DATETIME_MONTH = 102
except:
    pass

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/datetime.h: 12
try:
    DATETIME_DAY = 103
except:
    pass

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/datetime.h: 13
try:
    DATETIME_HOUR = 104
except:
    pass

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/datetime.h: 14
try:
    DATETIME_MINUTE = 105
except:
    pass

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/datetime.h: 15
try:
    DATETIME_SECOND = 106
except:
    pass

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/version.h: 5
try:
    GRASS_HEADERS_VERSION = '7d9a0da4f'
except:
    pass

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/version.h: 6
try:
    GRASS_HEADERS_DATE = '2020-10-01T15:35:27+00:00'
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 45
try:
    GIS_H_VERSION = GRASS_HEADERS_VERSION
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 49
try:
    GIS_H_DATE = GRASS_HEADERS_DATE
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 51
def G_gisinit(pgm):
    return (G__gisinit (GIS_H_VERSION, pgm))

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 52
try:
    G_no_gisinit = (G__no_gisinit (GIS_H_VERSION))
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 56
try:
    TRUE = 1
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 60
try:
    FALSE = 0
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 64
try:
    PRI_OFF_T = 'lld'
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 70
try:
    NEWLINE = '\\n'
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 72
try:
    HOST_NEWLINE = '\\r\\n'
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 87
try:
    U_UNDEFINED = (-1)
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 88
try:
    U_UNKNOWN = 0
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 89
try:
    U_ACRES = 1
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 90
try:
    U_HECTARES = 2
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 91
try:
    U_KILOMETERS = 3
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 92
try:
    U_METERS = 4
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 93
try:
    U_MILES = 5
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 94
try:
    U_FEET = 6
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 95
try:
    U_RADIANS = 7
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 96
try:
    U_DEGREES = 8
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 97
try:
    U_USFEET = 9
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 99
try:
    U_YEARS = DATETIME_YEAR
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 100
try:
    U_MONTHS = DATETIME_MONTH
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 101
try:
    U_DAYS = DATETIME_DAY
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 102
try:
    U_HOURS = DATETIME_HOUR
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 103
try:
    U_MINUTES = DATETIME_MINUTE
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 104
try:
    U_SECONDS = DATETIME_SECOND
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 107
try:
    PROJECTION_XY = 0
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 109
try:
    PROJECTION_UTM = 1
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 111
try:
    PROJECTION_SP = 2
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 113
try:
    PROJECTION_LL = 3
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 115
try:
    PROJECTION_OTHER = 99
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 117
try:
    PROJECTION_FILE = 'PROJ_INFO'
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 118
try:
    UNIT_FILE = 'PROJ_UNITS'
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 119
try:
    EPSG_FILE = 'PROJ_EPSG'
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 120
try:
    WKT_FILE = 'PROJ_WKT'
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 121
try:
    SRID_FILE = 'PROJ_SRID'
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 124
try:
    CONFIG_DIR = 'GRASS7'
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 131
try:
    M_PI = 3.141592653589793
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 134
try:
    M_PI_2 = 1.5707963267948966
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 137
try:
    M_PI_4 = 0.7853981633974483
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 140
try:
    M_R2D = 57.29577951308232
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 143
try:
    M_D2R = 0.017453292519943295
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 146
try:
    GRASS_EPSILON = 1e-15
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 149
try:
    G_VAR_GISRC = 0
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 150
try:
    G_VAR_MAPSET = 1
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 153
try:
    G_GISRC_MODE_FILE = 0
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 154
try:
    G_GISRC_MODE_MEMORY = 1
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 157
try:
    TYPE_INTEGER = 1
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 158
try:
    TYPE_DOUBLE = 2
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 159
try:
    TYPE_STRING = 3
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 160
try:
    YES = 1
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 161
try:
    NO = 0
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 164
try:
    GNAME_MAX = 256
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 165
try:
    GMAPSET_MAX = 256
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 167
try:
    GPATH_MAX = 4096
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 170
try:
    GBASENAME_SEP = '_'
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 185
def deserialize_int32_le(buf):
    return (((((buf [0]) << 0) | ((buf [1]) << 8)) | ((buf [2]) << 16)) | ((buf [3]) << 24))

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 199
def deserialize_int32_be(buf):
    return (((((buf [0]) << 24) | ((buf [1]) << 16)) | ((buf [2]) << 8)) | ((buf [3]) << 0))

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 205
try:
    GRASS_DIRSEP = '/'
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 207
try:
    HOST_DIRSEP = '\\\\'
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 208
try:
    G_DEV_NULL = 'NUL:'
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 356
try:
    G_INFO_FORMAT_STANDARD = 0
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 357
try:
    G_INFO_FORMAT_GUI = 1
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 358
try:
    G_INFO_FORMAT_SILENT = 2
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 359
try:
    G_INFO_FORMAT_PLAIN = 3
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 362
try:
    G_ICON_CROSS = 0
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 363
try:
    G_ICON_BOX = 1
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 364
try:
    G_ICON_ARROW = 2
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 367
try:
    DEFAULT_FG_COLOR = 'black'
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 368
try:
    DEFAULT_BG_COLOR = 'white'
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 369
try:
    DEFAULT_COLOR_TABLE = 'viridis'
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 372
try:
    G_FATAL_EXIT = 0
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 373
try:
    G_FATAL_PRINT = 1
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 374
try:
    G_FATAL_RETURN = 2
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 377
try:
    ENDIAN_LITTLE = 0
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 378
try:
    ENDIAN_BIG = 1
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 379
try:
    ENDIAN_OTHER = 2
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 385
try:
    GV_KEY_COLUMN = 'cat'
except:
    pass

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 57
def G_alloca(n):
    return (G_malloc (n))

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 58
def G_freea(p):
    return (G_free (p))

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 72
try:
    RELDIR = '?'
except:
    pass

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 100
def G_incr_void_ptr(ptr, size):
    return (ptr + size)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 116
def G_malloc(n):
    return (G__malloc ('<ctypesgen>', 0, n))

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 117
def G_calloc(m, n):
    return (G__calloc ('<ctypesgen>', 0, m, n))

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/gis.h: 118
def G_realloc(p, n):
    return (G__realloc ('<ctypesgen>', 0, p, n))

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 9
try:
    BLACK = 1
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 10
try:
    RED = 2
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 11
try:
    GREEN = 3
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 12
try:
    BLUE = 4
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 13
try:
    YELLOW = 5
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 14
try:
    CYAN = 6
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 15
try:
    MAGENTA = 7
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 16
try:
    WHITE = 8
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 17
try:
    GRAY = 9
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 18
try:
    ORANGE = 10
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 19
try:
    AQUA = 11
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 20
try:
    INDIGO = 12
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 21
try:
    VIOLET = 13
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 22
try:
    BROWN = 14
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 24
try:
    GREY = GRAY
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 25
try:
    PURPLE = VIOLET
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 28
try:
    D_COLOR_LIST = 'red,orange,yellow,green,blue,indigo,violet,white,black,gray,brown,magenta,aqua,grey,cyan,purple'
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 31
try:
    MAX_COLOR_LEN = 32
except:
    pass

Cell_head = struct_Cell_head # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 409

G_3dview = struct_G_3dview # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 471

Key_Value = struct_Key_Value # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 498

Option = struct_Option # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 528

Flag = struct_Flag # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 557

GModule = struct_GModule # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 574

TimeStamp = struct_TimeStamp # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 584

Counter = struct_Counter # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 590

Popen = struct_Popen # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 594

_Color_Value_ = struct__Color_Value_ # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 620

_Color_Rule_ = struct__Color_Rule_ # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 628

_Color_Info_ = struct__Color_Info_ # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 635

Colors = struct_Colors # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 662

ilist = struct_ilist # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\gis.h: 686

color_rgb = struct_color_rgb # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 33

color_name = struct_color_name # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\colors.h: 38

# No inserted files

