'''Wrapper for gis.h

Generated with:
./ctypesgen.py --cpp /usr/bin/clang -E -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/lib/python/ctypes -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  "-Drestrict=" "-D__attribute__(x)=" "-D_Nonnull="  "-Dint8_t=char" "-DCF_INLINE=" "-D_Null_unspecified="  "-D__DARWIN_OS_INLINE="  -D_Nullable=     -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include -D__GLIBC_HAVE_LONG_LONG -lgrass_gis.7.8 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/colors.h -o OBJ.x86_64-apple-darwin22.6.0/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.8"] = load_library("grass_gis.7.8")

# 1 libraries
# End libraries

# No modules

__int32_t = c_int # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/i386/_types.h: 46

__int64_t = c_longlong # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/i386/_types.h: 48

__darwin_time_t = c_long # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/i386/_types.h: 122

__darwin_blkcnt_t = __int64_t # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_types.h: 55

__darwin_blksize_t = __int32_t # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_types.h: 56

__darwin_dev_t = __int32_t # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_types.h: 57

__darwin_gid_t = c_uint32 # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_types.h: 60

__darwin_ino64_t = c_uint64 # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_types.h: 62

__darwin_mode_t = c_uint16 # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_types.h: 70

__darwin_off_t = __int64_t # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_types.h: 71

__darwin_uid_t = c_uint32 # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_types.h: 75

fpos_t = __darwin_off_t # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/_stdio.h: 81

# /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/_stdio.h: 92
class struct___sbuf(Structure):
    pass

struct___sbuf.__slots__ = [
    '_base',
    '_size',
]
struct___sbuf._fields_ = [
    ('_base', POINTER(c_ubyte)),
    ('_size', c_int),
]

# /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/_stdio.h: 98
class struct___sFILEX(Structure):
    pass

# /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/_stdio.h: 157
class struct___sFILE(Structure):
    pass

struct___sFILE.__slots__ = [
    '_p',
    '_r',
    '_w',
    '_flags',
    '_file',
    '_bf',
    '_lbfsize',
    '_cookie',
    '_close',
    '_read',
    '_seek',
    '_write',
    '_ub',
    '_extra',
    '_ur',
    '_ubuf',
    '_nbuf',
    '_lb',
    '_blksize',
    '_offset',
]
struct___sFILE._fields_ = [
    ('_p', POINTER(c_ubyte)),
    ('_r', c_int),
    ('_w', c_int),
    ('_flags', c_short),
    ('_file', c_short),
    ('_bf', struct___sbuf),
    ('_lbfsize', c_int),
    ('_cookie', POINTER(None)),
    ('_close', CFUNCTYPE(UNCHECKED(c_int), POINTER(None))),
    ('_read', CFUNCTYPE(UNCHECKED(c_int), POINTER(None), String, c_int)),
    ('_seek', CFUNCTYPE(UNCHECKED(fpos_t), POINTER(None), fpos_t, c_int)),
    ('_write', CFUNCTYPE(UNCHECKED(c_int), POINTER(None), String, c_int)),
    ('_ub', struct___sbuf),
    ('_extra', POINTER(struct___sFILEX)),
    ('_ur', c_int),
    ('_ubuf', c_ubyte * 3),
    ('_nbuf', c_ubyte * 1),
    ('_lb', struct___sbuf),
    ('_blksize', c_int),
    ('_offset', fpos_t),
]

FILE = struct___sFILE # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/_stdio.h: 157

off_t = __darwin_off_t # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_types/_off_t.h: 31

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/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 # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/datetime.h: 27

enum_anon_2 = c_int # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_UNDEFINED = 0 # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_DB_SQL = (G_OPT_UNDEFINED + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_DB_WHERE = (G_OPT_DB_SQL + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_DB_TABLE = (G_OPT_DB_WHERE + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_DB_DRIVER = (G_OPT_DB_TABLE + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_DB_DATABASE = (G_OPT_DB_DRIVER + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_DB_SCHEMA = (G_OPT_DB_DATABASE + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_DB_COLUMN = (G_OPT_DB_SCHEMA + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_DB_COLUMNS = (G_OPT_DB_COLUMN + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_DB_KEYCOLUMN = (G_OPT_DB_COLUMNS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_I_GROUP = (G_OPT_DB_KEYCOLUMN + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_I_SUBGROUP = (G_OPT_I_GROUP + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_MEMORYMB = (G_OPT_I_SUBGROUP + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R_INPUT = (G_OPT_MEMORYMB + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R_INPUTS = (G_OPT_R_INPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R_OUTPUT = (G_OPT_R_INPUTS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R_OUTPUTS = (G_OPT_R_OUTPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R_MAP = (G_OPT_R_OUTPUTS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R_MAPS = (G_OPT_R_MAP + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R_BASE = (G_OPT_R_MAPS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R_COVER = (G_OPT_R_BASE + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R_ELEV = (G_OPT_R_COVER + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R_ELEVS = (G_OPT_R_ELEV + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R_TYPE = (G_OPT_R_ELEVS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R_INTERP_TYPE = (G_OPT_R_TYPE + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R_BASENAME_INPUT = (G_OPT_R_INTERP_TYPE + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R_BASENAME_OUTPUT = (G_OPT_R_BASENAME_INPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R3_INPUT = (G_OPT_R_BASENAME_OUTPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R3_INPUTS = (G_OPT_R3_INPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R3_OUTPUT = (G_OPT_R3_INPUTS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R3_MAP = (G_OPT_R3_OUTPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R3_MAPS = (G_OPT_R3_MAP + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R3_TYPE = (G_OPT_R3_MAPS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R3_PRECISION = (G_OPT_R3_TYPE + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R3_TILE_DIMENSION = (G_OPT_R3_PRECISION + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_R3_COMPRESSION = (G_OPT_R3_TILE_DIMENSION + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_V_INPUT = (G_OPT_R3_COMPRESSION + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_V_INPUTS = (G_OPT_V_INPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_V_OUTPUT = (G_OPT_V_INPUTS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_V_MAP = (G_OPT_V_OUTPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_V_MAPS = (G_OPT_V_MAP + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_V_TYPE = (G_OPT_V_MAPS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_V3_TYPE = (G_OPT_V_TYPE + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_V_FIELD = (G_OPT_V3_TYPE + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_V_FIELD_ALL = (G_OPT_V_FIELD + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_V_CAT = (G_OPT_V_FIELD_ALL + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_V_CATS = (G_OPT_V_CAT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_V_ID = (G_OPT_V_CATS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_V_IDS = (G_OPT_V_ID + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_F_INPUT = (G_OPT_V_IDS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_F_BIN_INPUT = (G_OPT_F_INPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_F_OUTPUT = (G_OPT_F_BIN_INPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_F_SEP = (G_OPT_F_OUTPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_C = (G_OPT_F_SEP + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_CN = (G_OPT_C + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_M_UNITS = (G_OPT_CN + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_M_DATATYPE = (G_OPT_M_UNITS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_M_MAPSET = (G_OPT_M_DATATYPE + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_M_LOCATION = (G_OPT_M_MAPSET + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_M_DBASE = (G_OPT_M_LOCATION + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_M_COORDS = (G_OPT_M_DBASE + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_M_COLR = (G_OPT_M_COORDS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_M_DIR = (G_OPT_M_COLR + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_M_REGION = (G_OPT_M_DIR + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_M_NULL_VALUE = (G_OPT_M_REGION + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_M_NPROCS = (G_OPT_M_NULL_VALUE + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_STDS_INPUT = (G_OPT_M_NPROCS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_STDS_INPUTS = (G_OPT_STDS_INPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_STDS_OUTPUT = (G_OPT_STDS_INPUTS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_STRDS_INPUT = (G_OPT_STDS_OUTPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_STRDS_INPUTS = (G_OPT_STRDS_INPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_STRDS_OUTPUT = (G_OPT_STRDS_INPUTS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_STRDS_OUTPUTS = (G_OPT_STRDS_OUTPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_STR3DS_INPUT = (G_OPT_STRDS_OUTPUTS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_STR3DS_INPUTS = (G_OPT_STR3DS_INPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_STR3DS_OUTPUT = (G_OPT_STR3DS_INPUTS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_STVDS_INPUT = (G_OPT_STR3DS_OUTPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_STVDS_INPUTS = (G_OPT_STVDS_INPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_STVDS_OUTPUT = (G_OPT_STVDS_INPUTS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_MAP_INPUT = (G_OPT_STVDS_OUTPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_MAP_INPUTS = (G_OPT_MAP_INPUT + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_STDS_TYPE = (G_OPT_MAP_INPUTS + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_MAP_TYPE = (G_OPT_STDS_TYPE + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_T_TYPE = (G_OPT_MAP_TYPE + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_T_WHERE = (G_OPT_T_TYPE + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

G_OPT_T_SAMPLE = (G_OPT_T_WHERE + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

STD_OPT = enum_anon_2 # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 331

enum_anon_3 = c_int # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 347

G_FLG_UNDEFINED = 0 # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 347

G_FLG_V_TABLE = (G_FLG_UNDEFINED + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 347

G_FLG_V_TOPO = (G_FLG_V_TABLE + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 347

STD_FLG = enum_anon_3 # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 347

enum_rule_type = c_int # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 350

RULE_EXCLUSIVE = 0 # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 350

RULE_REQUIRED = (RULE_EXCLUSIVE + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 350

RULE_REQUIRES = (RULE_REQUIRED + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 350

RULE_REQUIRES_ALL = (RULE_REQUIRES + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 350

RULE_EXCLUDES = (RULE_REQUIRES_ALL + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 350

RULE_COLLECTIVE = (RULE_EXCLUDES + 1) # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 350

enum_anon_4 = c_int # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 397

G_ELEMENT_RASTER = 1 # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 397

G_ELEMENT_RASTER3D = 2 # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 397

G_ELEMENT_VECTOR = 3 # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 397

G_ELEMENT_ASCIIVECTOR = 4 # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 397

G_ELEMENT_LABEL = 5 # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 397

G_ELEMENT_REGION = 6 # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 397

G_ELEMENT_GROUP = 7 # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 397

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 413
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),
]

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 475
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),
]

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 502
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))),
]

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 532
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),
]

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 561
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)),
]

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 578
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),
]

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 588
class struct_TimeStamp(Structure):
    pass

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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 594
class struct_Counter(Structure):
    pass

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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 598
class struct_Popen(Structure):
    pass

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

CELL = c_int # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 603

DCELL = c_double # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 604

FCELL = c_float # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 605

dev_t = __darwin_dev_t # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_types/_dev_t.h: 31

blkcnt_t = __darwin_blkcnt_t # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_types/_blkcnt_t.h: 31

blksize_t = __darwin_blksize_t # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_types/_blksize_t.h: 31

gid_t = __darwin_gid_t # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_types/_gid_t.h: 31

mode_t = __darwin_mode_t # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_types/_mode_t.h: 31

nlink_t = c_uint16 # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_types/_nlink_t.h: 31

uid_t = __darwin_uid_t # /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_types/_uid_t.h: 31

grass_int64 = c_int64 # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 610

LCELL = grass_int64 # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 622

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 624
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),
]

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 632
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_)),
]

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 644
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),
]

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 654
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),
]

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 639
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),
]

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 666
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),
]

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 690
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),
]

# /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_types/_timespec.h: 33
class struct_timespec(Structure):
    pass

struct_timespec.__slots__ = [
    'tv_sec',
    'tv_nsec',
]
struct_timespec._fields_ = [
    ('tv_sec', __darwin_time_t),
    ('tv_nsec', c_long),
]

# /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/stat.h: 182
class struct_stat(Structure):
    pass

struct_stat.__slots__ = [
    'st_dev',
    'st_mode',
    'st_nlink',
    'st_ino',
    'st_uid',
    'st_gid',
    'st_rdev',
    'st_atimespec',
    'st_mtimespec',
    'st_ctimespec',
    'st_birthtimespec',
    'st_size',
    'st_blocks',
    'st_blksize',
    'st_flags',
    'st_gen',
    'st_lspare',
    'st_qspare',
]
struct_stat._fields_ = [
    ('st_dev', dev_t),
    ('st_mode', mode_t),
    ('st_nlink', nlink_t),
    ('st_ino', __darwin_ino64_t),
    ('st_uid', uid_t),
    ('st_gid', gid_t),
    ('st_rdev', dev_t),
    ('st_atimespec', struct_timespec),
    ('st_mtimespec', struct_timespec),
    ('st_ctimespec', struct_timespec),
    ('st_birthtimespec', struct_timespec),
    ('st_size', off_t),
    ('st_blocks', blkcnt_t),
    ('st_blksize', blksize_t),
    ('st_flags', c_uint32),
    ('st_gen', c_uint32),
    ('st_lspare', __int32_t),
    ('st_qspare', __int64_t * 2),
]

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 95
if hasattr(_libs['grass_gis.7.8'], 'G_adjust_Cell_head'):
    G_adjust_Cell_head = _libs['grass_gis.7.8'].G_adjust_Cell_head
    G_adjust_Cell_head.argtypes = [POINTER(struct_Cell_head), c_int, c_int]
    G_adjust_Cell_head.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 96
if hasattr(_libs['grass_gis.7.8'], 'G_adjust_Cell_head3'):
    G_adjust_Cell_head3 = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 97
if hasattr(_libs['grass_gis.7.8'], 'G_adjust_window_ll'):
    G_adjust_window_ll = _libs['grass_gis.7.8'].G_adjust_window_ll
    G_adjust_window_ll.argtypes = [POINTER(struct_Cell_head)]
    G_adjust_window_ll.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 103
if hasattr(_libs['grass_gis.7.8'], 'G__malloc'):
    G__malloc = _libs['grass_gis.7.8'].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)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 104
if hasattr(_libs['grass_gis.7.8'], 'G__calloc'):
    G__calloc = _libs['grass_gis.7.8'].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)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 105
if hasattr(_libs['grass_gis.7.8'], 'G__realloc'):
    G__realloc = _libs['grass_gis.7.8'].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)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 106
if hasattr(_libs['grass_gis.7.8'], 'G_free'):
    G_free = _libs['grass_gis.7.8'].G_free
    G_free.argtypes = [POINTER(None)]
    G_free.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 122
if hasattr(_libs['grass_gis.7.8'], 'G_begin_cell_area_calculations'):
    G_begin_cell_area_calculations = _libs['grass_gis.7.8'].G_begin_cell_area_calculations
    G_begin_cell_area_calculations.argtypes = []
    G_begin_cell_area_calculations.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 123
if hasattr(_libs['grass_gis.7.8'], 'G_area_of_cell_at_row'):
    G_area_of_cell_at_row = _libs['grass_gis.7.8'].G_area_of_cell_at_row
    G_area_of_cell_at_row.argtypes = [c_int]
    G_area_of_cell_at_row.restype = c_double

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 124
if hasattr(_libs['grass_gis.7.8'], 'G_begin_polygon_area_calculations'):
    G_begin_polygon_area_calculations = _libs['grass_gis.7.8'].G_begin_polygon_area_calculations
    G_begin_polygon_area_calculations.argtypes = []
    G_begin_polygon_area_calculations.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 125
if hasattr(_libs['grass_gis.7.8'], 'G_area_of_polygon'):
    G_area_of_polygon = _libs['grass_gis.7.8'].G_area_of_polygon
    G_area_of_polygon.argtypes = [POINTER(c_double), POINTER(c_double), c_int]
    G_area_of_polygon.restype = c_double

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 128
if hasattr(_libs['grass_gis.7.8'], 'G_begin_zone_area_on_ellipsoid'):
    G_begin_zone_area_on_ellipsoid = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 129
if hasattr(_libs['grass_gis.7.8'], 'G_darea0_on_ellipsoid'):
    G_darea0_on_ellipsoid = _libs['grass_gis.7.8'].G_darea0_on_ellipsoid
    G_darea0_on_ellipsoid.argtypes = [c_double]
    G_darea0_on_ellipsoid.restype = c_double

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 130
if hasattr(_libs['grass_gis.7.8'], 'G_area_for_zone_on_ellipsoid'):
    G_area_for_zone_on_ellipsoid = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 133
if hasattr(_libs['grass_gis.7.8'], 'G_begin_ellipsoid_polygon_area'):
    G_begin_ellipsoid_polygon_area = _libs['grass_gis.7.8'].G_begin_ellipsoid_polygon_area
    G_begin_ellipsoid_polygon_area.argtypes = [c_double, c_double]
    G_begin_ellipsoid_polygon_area.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 134
if hasattr(_libs['grass_gis.7.8'], 'G_ellipsoid_polygon_area'):
    G_ellipsoid_polygon_area = _libs['grass_gis.7.8'].G_ellipsoid_polygon_area
    G_ellipsoid_polygon_area.argtypes = [POINTER(c_double), POINTER(c_double), c_int]
    G_ellipsoid_polygon_area.restype = c_double

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 137
if hasattr(_libs['grass_gis.7.8'], 'G_planimetric_polygon_area'):
    G_planimetric_polygon_area = _libs['grass_gis.7.8'].G_planimetric_polygon_area
    G_planimetric_polygon_area.argtypes = [POINTER(c_double), POINTER(c_double), c_int]
    G_planimetric_polygon_area.restype = c_double

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 140
if hasattr(_libs['grass_gis.7.8'], 'G_begin_zone_area_on_sphere'):
    G_begin_zone_area_on_sphere = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 141
if hasattr(_libs['grass_gis.7.8'], 'G_darea0_on_sphere'):
    G_darea0_on_sphere = _libs['grass_gis.7.8'].G_darea0_on_sphere
    G_darea0_on_sphere.argtypes = [c_double]
    G_darea0_on_sphere.restype = c_double

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 142
if hasattr(_libs['grass_gis.7.8'], 'G_area_for_zone_on_sphere'):
    G_area_for_zone_on_sphere = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 145
if hasattr(_libs['grass_gis.7.8'], 'G_ascii_check'):
    G_ascii_check = _libs['grass_gis.7.8'].G_ascii_check
    G_ascii_check.argtypes = [String]
    G_ascii_check.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 157
if hasattr(_libs['grass_gis.7.8'], 'G_vasprintf'):
    G_vasprintf = _libs['grass_gis.7.8'].G_vasprintf
    G_vasprintf.argtypes = [POINTER(POINTER(c_char)), String, c_void_p]
    G_vasprintf.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 158
if hasattr(_libs['grass_gis.7.8'], 'G_asprintf'):
    _func = _libs['grass_gis.7.8'].G_asprintf
    _restype = c_int
    _errcheck = None
    _argtypes = [POINTER(POINTER(c_char)), String]
    G_asprintf = _variadic_function(_func,_restype,_argtypes,_errcheck)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 161
if hasattr(_libs['grass_gis.7.8'], 'G_rasprintf'):
    _func = _libs['grass_gis.7.8'].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)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 165
if hasattr(_libs['grass_gis.7.8'], 'G_basename'):
    G_basename = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 166
if hasattr(_libs['grass_gis.7.8'], 'G_get_num_decimals'):
    G_get_num_decimals = _libs['grass_gis.7.8'].G_get_num_decimals
    G_get_num_decimals.argtypes = [String]
    G_get_num_decimals.restype = c_size_t

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 167
if hasattr(_libs['grass_gis.7.8'], 'G_double_to_basename_format'):
    G_double_to_basename_format = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 168
if hasattr(_libs['grass_gis.7.8'], 'G_get_basename_separator'):
    G_get_basename_separator = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 169
if hasattr(_libs['grass_gis.7.8'], 'G_join_basename_strings'):
    G_join_basename_strings = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 170
if hasattr(_libs['grass_gis.7.8'], 'G_generate_basename'):
    G_generate_basename = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 173
if hasattr(_libs['grass_gis.7.8'], 'G_bresenham_line'):
    G_bresenham_line = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 176
if hasattr(_libs['grass_gis.7.8'], 'G_clicker'):
    G_clicker = _libs['grass_gis.7.8'].G_clicker
    G_clicker.argtypes = []
    G_clicker.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 179
if hasattr(_libs['grass_gis.7.8'], 'G_color_rules_options'):
    G_color_rules_options = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 180
if hasattr(_libs['grass_gis.7.8'], 'G_color_rules_descriptions'):
    G_color_rules_descriptions = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 181
if hasattr(_libs['grass_gis.7.8'], 'G_color_rules_description_type'):
    G_color_rules_description_type = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 182
if hasattr(_libs['grass_gis.7.8'], 'G_list_color_rules'):
    G_list_color_rules = _libs['grass_gis.7.8'].G_list_color_rules
    G_list_color_rules.argtypes = [POINTER(FILE)]
    G_list_color_rules.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 183
if hasattr(_libs['grass_gis.7.8'], 'G_list_color_rules_description_type'):
    G_list_color_rules_description_type = _libs['grass_gis.7.8'].G_list_color_rules_description_type
    G_list_color_rules_description_type.argtypes = [POINTER(FILE), String]
    G_list_color_rules_description_type.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 184
if hasattr(_libs['grass_gis.7.8'], 'G_find_color_rule'):
    G_find_color_rule = _libs['grass_gis.7.8'].G_find_color_rule
    G_find_color_rule.argtypes = [String]
    G_find_color_rule.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 187
if hasattr(_libs['grass_gis.7.8'], 'G_num_standard_colors'):
    G_num_standard_colors = _libs['grass_gis.7.8'].G_num_standard_colors
    G_num_standard_colors.argtypes = []
    G_num_standard_colors.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 190
if hasattr(_libs['grass_gis.7.8'], 'G_insert_commas'):
    G_insert_commas = _libs['grass_gis.7.8'].G_insert_commas
    G_insert_commas.argtypes = [String]
    G_insert_commas.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 191
if hasattr(_libs['grass_gis.7.8'], 'G_remove_commas'):
    G_remove_commas = _libs['grass_gis.7.8'].G_remove_commas
    G_remove_commas.argtypes = [String]
    G_remove_commas.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 194
if hasattr(_libs['grass_gis.7.8'], 'G_compressor_number'):
    G_compressor_number = _libs['grass_gis.7.8'].G_compressor_number
    G_compressor_number.argtypes = [String]
    G_compressor_number.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 195
if hasattr(_libs['grass_gis.7.8'], 'G_compressor_name'):
    G_compressor_name = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 196
if hasattr(_libs['grass_gis.7.8'], 'G_default_compressor'):
    G_default_compressor = _libs['grass_gis.7.8'].G_default_compressor
    G_default_compressor.argtypes = []
    G_default_compressor.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 197
if hasattr(_libs['grass_gis.7.8'], 'G_check_compressor'):
    G_check_compressor = _libs['grass_gis.7.8'].G_check_compressor
    G_check_compressor.argtypes = [c_int]
    G_check_compressor.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 198
if hasattr(_libs['grass_gis.7.8'], 'G_write_compressed'):
    G_write_compressed = _libs['grass_gis.7.8'].G_write_compressed
    G_write_compressed.argtypes = [c_int, POINTER(c_ubyte), c_int, c_int]
    G_write_compressed.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 199
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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 200
if hasattr(_libs['grass_gis.7.8'], 'G_read_compressed'):
    G_read_compressed = _libs['grass_gis.7.8'].G_read_compressed
    G_read_compressed.argtypes = [c_int, c_int, POINTER(c_ubyte), c_int, c_int]
    G_read_compressed.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 201
if hasattr(_libs['grass_gis.7.8'], 'G_compress_bound'):
    G_compress_bound = _libs['grass_gis.7.8'].G_compress_bound
    G_compress_bound.argtypes = [c_int, c_int]
    G_compress_bound.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 202
if hasattr(_libs['grass_gis.7.8'], 'G_compress'):
    G_compress = _libs['grass_gis.7.8'].G_compress
    G_compress.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int, c_int]
    G_compress.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 203
if hasattr(_libs['grass_gis.7.8'], 'G_expand'):
    G_expand = _libs['grass_gis.7.8'].G_expand
    G_expand.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int, c_int]
    G_expand.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 207
if hasattr(_libs['grass_gis.7.8'], 'G_no_compress'):
    G_no_compress = _libs['grass_gis.7.8'].G_no_compress
    G_no_compress.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_no_compress.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 210
if hasattr(_libs['grass_gis.7.8'], 'G_no_expand'):
    G_no_expand = _libs['grass_gis.7.8'].G_no_expand
    G_no_expand.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_no_expand.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 215
if hasattr(_libs['grass_gis.7.8'], 'G_rle_compress'):
    G_rle_compress = _libs['grass_gis.7.8'].G_rle_compress
    G_rle_compress.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_rle_compress.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 218
if hasattr(_libs['grass_gis.7.8'], 'G_rle_expand'):
    G_rle_expand = _libs['grass_gis.7.8'].G_rle_expand
    G_rle_expand.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_rle_expand.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 223
if hasattr(_libs['grass_gis.7.8'], 'G_zlib_compress'):
    G_zlib_compress = _libs['grass_gis.7.8'].G_zlib_compress
    G_zlib_compress.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_zlib_compress.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 226
if hasattr(_libs['grass_gis.7.8'], 'G_zlib_expand'):
    G_zlib_expand = _libs['grass_gis.7.8'].G_zlib_expand
    G_zlib_expand.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_zlib_expand.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 231
if hasattr(_libs['grass_gis.7.8'], 'G_lz4_compress'):
    G_lz4_compress = _libs['grass_gis.7.8'].G_lz4_compress
    G_lz4_compress.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_lz4_compress.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 234
if hasattr(_libs['grass_gis.7.8'], 'G_lz4_expand'):
    G_lz4_expand = _libs['grass_gis.7.8'].G_lz4_expand
    G_lz4_expand.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_lz4_expand.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 239
if hasattr(_libs['grass_gis.7.8'], 'G_bz2_compress'):
    G_bz2_compress = _libs['grass_gis.7.8'].G_bz2_compress
    G_bz2_compress.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_bz2_compress.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 242
if hasattr(_libs['grass_gis.7.8'], 'G_bz2_expand'):
    G_bz2_expand = _libs['grass_gis.7.8'].G_bz2_expand
    G_bz2_expand.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_bz2_expand.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 247
if hasattr(_libs['grass_gis.7.8'], 'G_zstd_compress'):
    G_zstd_compress = _libs['grass_gis.7.8'].G_zstd_compress
    G_zstd_compress.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_zstd_compress.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 250
if hasattr(_libs['grass_gis.7.8'], 'G_zstd_expand'):
    G_zstd_expand = _libs['grass_gis.7.8'].G_zstd_expand
    G_zstd_expand.argtypes = [POINTER(c_ubyte), c_int, POINTER(c_ubyte), c_int]
    G_zstd_expand.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 256
if hasattr(_libs['grass_gis.7.8'], 'G_recursive_copy'):
    G_recursive_copy = _libs['grass_gis.7.8'].G_recursive_copy
    G_recursive_copy.argtypes = [String, String]
    G_recursive_copy.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 259
if hasattr(_libs['grass_gis.7.8'], 'G_copy_file'):
    G_copy_file = _libs['grass_gis.7.8'].G_copy_file
    G_copy_file.argtypes = [String, String]
    G_copy_file.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 262
if hasattr(_libs['grass_gis.7.8'], 'G_is_initialized'):
    G_is_initialized = _libs['grass_gis.7.8'].G_is_initialized
    G_is_initialized.argtypes = [POINTER(c_int)]
    G_is_initialized.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 263
if hasattr(_libs['grass_gis.7.8'], 'G_initialize_done'):
    G_initialize_done = _libs['grass_gis.7.8'].G_initialize_done
    G_initialize_done.argtypes = [POINTER(c_int)]
    G_initialize_done.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 264
if hasattr(_libs['grass_gis.7.8'], 'G_init_counter'):
    G_init_counter = _libs['grass_gis.7.8'].G_init_counter
    G_init_counter.argtypes = [POINTER(struct_Counter), c_int]
    G_init_counter.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 265
if hasattr(_libs['grass_gis.7.8'], 'G_counter_next'):
    G_counter_next = _libs['grass_gis.7.8'].G_counter_next
    G_counter_next.argtypes = [POINTER(struct_Counter)]
    G_counter_next.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 268
if hasattr(_libs['grass_gis.7.8'], 'G_date'):
    G_date = _libs['grass_gis.7.8'].G_date
    G_date.argtypes = []
    G_date.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 271
if hasattr(_libs['grass_gis.7.8'], 'G_get_datum_by_name'):
    G_get_datum_by_name = _libs['grass_gis.7.8'].G_get_datum_by_name
    G_get_datum_by_name.argtypes = [String]
    G_get_datum_by_name.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 272
if hasattr(_libs['grass_gis.7.8'], 'G_datum_name'):
    G_datum_name = _libs['grass_gis.7.8'].G_datum_name
    G_datum_name.argtypes = [c_int]
    G_datum_name.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 273
if hasattr(_libs['grass_gis.7.8'], 'G_datum_description'):
    G_datum_description = _libs['grass_gis.7.8'].G_datum_description
    G_datum_description.argtypes = [c_int]
    G_datum_description.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 274
if hasattr(_libs['grass_gis.7.8'], 'G_datum_ellipsoid'):
    G_datum_ellipsoid = _libs['grass_gis.7.8'].G_datum_ellipsoid
    G_datum_ellipsoid.argtypes = [c_int]
    G_datum_ellipsoid.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 275
if hasattr(_libs['grass_gis.7.8'], 'G_get_datumparams_from_projinfo'):
    G_get_datumparams_from_projinfo = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 276
if hasattr(_libs['grass_gis.7.8'], 'G_read_datum_table'):
    G_read_datum_table = _libs['grass_gis.7.8'].G_read_datum_table
    G_read_datum_table.argtypes = []
    G_read_datum_table.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 280
if hasattr(_libs['grass_gis.7.8'], 'G_init_debug'):
    G_init_debug = _libs['grass_gis.7.8'].G_init_debug
    G_init_debug.argtypes = []
    G_init_debug.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 281
if hasattr(_libs['grass_gis.7.8'], 'G_debug'):
    _func = _libs['grass_gis.7.8'].G_debug
    _restype = c_int
    _errcheck = None
    _argtypes = [c_int, String]
    G_debug = _variadic_function(_func,_restype,_argtypes,_errcheck)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 284
if hasattr(_libs['grass_gis.7.8'], 'G_begin_distance_calculations'):
    G_begin_distance_calculations = _libs['grass_gis.7.8'].G_begin_distance_calculations
    G_begin_distance_calculations.argtypes = []
    G_begin_distance_calculations.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 285
if hasattr(_libs['grass_gis.7.8'], 'G_distance'):
    G_distance = _libs['grass_gis.7.8'].G_distance
    G_distance.argtypes = [c_double, c_double, c_double, c_double]
    G_distance.restype = c_double

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 286
if hasattr(_libs['grass_gis.7.8'], 'G_distance_between_line_segments'):
    G_distance_between_line_segments = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 288
if hasattr(_libs['grass_gis.7.8'], 'G_distance_point_to_line_segment'):
    G_distance_point_to_line_segment = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 292
if hasattr(_libs['grass_gis.7.8'], 'G_done_msg'):
    _func = _libs['grass_gis.7.8'].G_done_msg
    _restype = None
    _errcheck = None
    _argtypes = [String]
    G_done_msg = _variadic_function(_func,_restype,_argtypes,_errcheck)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 295
if hasattr(_libs['grass_gis.7.8'], 'G_is_little_endian'):
    G_is_little_endian = _libs['grass_gis.7.8'].G_is_little_endian
    G_is_little_endian.argtypes = []
    G_is_little_endian.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 298
if hasattr(_libs['grass_gis.7.8'], 'G_init_env'):
    G_init_env = _libs['grass_gis.7.8'].G_init_env
    G_init_env.argtypes = []
    G_init_env.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 299
if hasattr(_libs['grass_gis.7.8'], 'G_getenv'):
    G_getenv = _libs['grass_gis.7.8'].G_getenv
    G_getenv.argtypes = [String]
    G_getenv.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 300
if hasattr(_libs['grass_gis.7.8'], 'G_getenv2'):
    G_getenv2 = _libs['grass_gis.7.8'].G_getenv2
    G_getenv2.argtypes = [String, c_int]
    G_getenv2.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 301
if hasattr(_libs['grass_gis.7.8'], 'G_getenv_nofatal'):
    G_getenv_nofatal = _libs['grass_gis.7.8'].G_getenv_nofatal
    G_getenv_nofatal.argtypes = [String]
    G_getenv_nofatal.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 302
if hasattr(_libs['grass_gis.7.8'], 'G_getenv_nofatal2'):
    G_getenv_nofatal2 = _libs['grass_gis.7.8'].G_getenv_nofatal2
    G_getenv_nofatal2.argtypes = [String, c_int]
    G_getenv_nofatal2.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 303
if hasattr(_libs['grass_gis.7.8'], 'G_setenv'):
    G_setenv = _libs['grass_gis.7.8'].G_setenv
    G_setenv.argtypes = [String, String]
    G_setenv.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 304
if hasattr(_libs['grass_gis.7.8'], 'G_setenv2'):
    G_setenv2 = _libs['grass_gis.7.8'].G_setenv2
    G_setenv2.argtypes = [String, String, c_int]
    G_setenv2.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 305
if hasattr(_libs['grass_gis.7.8'], 'G_setenv_nogisrc'):
    G_setenv_nogisrc = _libs['grass_gis.7.8'].G_setenv_nogisrc
    G_setenv_nogisrc.argtypes = [String, String]
    G_setenv_nogisrc.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 306
if hasattr(_libs['grass_gis.7.8'], 'G_setenv_nogisrc2'):
    G_setenv_nogisrc2 = _libs['grass_gis.7.8'].G_setenv_nogisrc2
    G_setenv_nogisrc2.argtypes = [String, String, c_int]
    G_setenv_nogisrc2.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 307
if hasattr(_libs['grass_gis.7.8'], 'G_unsetenv'):
    G_unsetenv = _libs['grass_gis.7.8'].G_unsetenv
    G_unsetenv.argtypes = [String]
    G_unsetenv.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 308
if hasattr(_libs['grass_gis.7.8'], 'G_unsetenv2'):
    G_unsetenv2 = _libs['grass_gis.7.8'].G_unsetenv2
    G_unsetenv2.argtypes = [String, c_int]
    G_unsetenv2.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 309
if hasattr(_libs['grass_gis.7.8'], 'G_get_env_name'):
    G_get_env_name = _libs['grass_gis.7.8'].G_get_env_name
    G_get_env_name.argtypes = [c_int]
    G_get_env_name.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 310
if hasattr(_libs['grass_gis.7.8'], 'G_set_gisrc_mode'):
    G_set_gisrc_mode = _libs['grass_gis.7.8'].G_set_gisrc_mode
    G_set_gisrc_mode.argtypes = [c_int]
    G_set_gisrc_mode.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 311
if hasattr(_libs['grass_gis.7.8'], 'G_get_gisrc_mode'):
    G_get_gisrc_mode = _libs['grass_gis.7.8'].G_get_gisrc_mode
    G_get_gisrc_mode.argtypes = []
    G_get_gisrc_mode.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 312
if hasattr(_libs['grass_gis.7.8'], 'G_create_alt_env'):
    G_create_alt_env = _libs['grass_gis.7.8'].G_create_alt_env
    G_create_alt_env.argtypes = []
    G_create_alt_env.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 313
if hasattr(_libs['grass_gis.7.8'], 'G_switch_env'):
    G_switch_env = _libs['grass_gis.7.8'].G_switch_env
    G_switch_env.argtypes = []
    G_switch_env.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 314
if hasattr(_libs['grass_gis.7.8'], 'G__read_mapset_env'):
    G__read_mapset_env = _libs['grass_gis.7.8'].G__read_mapset_env
    G__read_mapset_env.argtypes = []
    G__read_mapset_env.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 315
if hasattr(_libs['grass_gis.7.8'], 'G__read_gisrc_env'):
    G__read_gisrc_env = _libs['grass_gis.7.8'].G__read_gisrc_env
    G__read_gisrc_env.argtypes = []
    G__read_gisrc_env.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 322
if hasattr(_libs['grass_gis.7.8'], 'G_info_format'):
    G_info_format = _libs['grass_gis.7.8'].G_info_format
    G_info_format.argtypes = []
    G_info_format.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 323
if hasattr(_libs['grass_gis.7.8'], 'G_message'):
    _func = _libs['grass_gis.7.8'].G_message
    _restype = None
    _errcheck = None
    _argtypes = [String]
    G_message = _variadic_function(_func,_restype,_argtypes,_errcheck)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 324
if hasattr(_libs['grass_gis.7.8'], 'G_verbose_message'):
    _func = _libs['grass_gis.7.8'].G_verbose_message
    _restype = None
    _errcheck = None
    _argtypes = [String]
    G_verbose_message = _variadic_function(_func,_restype,_argtypes,_errcheck)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 326
if hasattr(_libs['grass_gis.7.8'], 'G_important_message'):
    _func = _libs['grass_gis.7.8'].G_important_message
    _restype = None
    _errcheck = None
    _argtypes = [String]
    G_important_message = _variadic_function(_func,_restype,_argtypes,_errcheck)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 328
if hasattr(_libs['grass_gis.7.8'], 'G_fatal_error'):
    _func = _libs['grass_gis.7.8'].G_fatal_error
    _restype = None
    _errcheck = None
    _argtypes = [String]
    G_fatal_error = _variadic_function(_func,_restype,_argtypes,_errcheck)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 330
if hasattr(_libs['grass_gis.7.8'], 'G_warning'):
    _func = _libs['grass_gis.7.8'].G_warning
    _restype = None
    _errcheck = None
    _argtypes = [String]
    G_warning = _variadic_function(_func,_restype,_argtypes,_errcheck)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 331
if hasattr(_libs['grass_gis.7.8'], 'G_suppress_warnings'):
    G_suppress_warnings = _libs['grass_gis.7.8'].G_suppress_warnings
    G_suppress_warnings.argtypes = [c_int]
    G_suppress_warnings.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 332
if hasattr(_libs['grass_gis.7.8'], 'G_sleep_on_error'):
    G_sleep_on_error = _libs['grass_gis.7.8'].G_sleep_on_error
    G_sleep_on_error.argtypes = [c_int]
    G_sleep_on_error.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 333
if hasattr(_libs['grass_gis.7.8'], 'G_set_error_routine'):
    G_set_error_routine = _libs['grass_gis.7.8'].G_set_error_routine
    G_set_error_routine.argtypes = [CFUNCTYPE(UNCHECKED(c_int), String, c_int)]
    G_set_error_routine.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 334
if hasattr(_libs['grass_gis.7.8'], 'G_unset_error_routine'):
    G_unset_error_routine = _libs['grass_gis.7.8'].G_unset_error_routine
    G_unset_error_routine.argtypes = []
    G_unset_error_routine.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 335
if hasattr(_libs['grass_gis.7.8'], 'G_init_logging'):
    G_init_logging = _libs['grass_gis.7.8'].G_init_logging
    G_init_logging.argtypes = []
    G_init_logging.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 338
if hasattr(_libs['grass_gis.7.8'], 'G_file_name'):
    G_file_name = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 339
if hasattr(_libs['grass_gis.7.8'], 'G_file_name_misc'):
    G_file_name_misc = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 341
if hasattr(_libs['grass_gis.7.8'], 'G_file_name_tmp'):
    G_file_name_tmp = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 344
if hasattr(_libs['grass_gis.7.8'], 'G_find_file'):
    G_find_file = _libs['grass_gis.7.8'].G_find_file
    G_find_file.argtypes = [String, String, String]
    G_find_file.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 345
if hasattr(_libs['grass_gis.7.8'], 'G_find_file2'):
    G_find_file2 = _libs['grass_gis.7.8'].G_find_file2
    G_find_file2.argtypes = [String, String, String]
    G_find_file2.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 346
if hasattr(_libs['grass_gis.7.8'], 'G_find_file_misc'):
    G_find_file_misc = _libs['grass_gis.7.8'].G_find_file_misc
    G_find_file_misc.argtypes = [String, String, String, String]
    G_find_file_misc.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 347
if hasattr(_libs['grass_gis.7.8'], 'G_find_file2_misc'):
    G_find_file2_misc = _libs['grass_gis.7.8'].G_find_file2_misc
    G_find_file2_misc.argtypes = [String, String, String, String]
    G_find_file2_misc.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 351
if hasattr(_libs['grass_gis.7.8'], 'G_find_etc'):
    G_find_etc = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 354
if hasattr(_libs['grass_gis.7.8'], 'G_find_raster'):
    G_find_raster = _libs['grass_gis.7.8'].G_find_raster
    G_find_raster.argtypes = [String, String]
    G_find_raster.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 355
if hasattr(_libs['grass_gis.7.8'], 'G_find_raster2'):
    G_find_raster2 = _libs['grass_gis.7.8'].G_find_raster2
    G_find_raster2.argtypes = [String, String]
    G_find_raster2.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 358
if hasattr(_libs['grass_gis.7.8'], 'G_find_raster3d'):
    G_find_raster3d = _libs['grass_gis.7.8'].G_find_raster3d
    G_find_raster3d.argtypes = [String, String]
    G_find_raster3d.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 361
if hasattr(_libs['grass_gis.7.8'], 'G_find_vector'):
    G_find_vector = _libs['grass_gis.7.8'].G_find_vector
    G_find_vector.argtypes = [String, String]
    G_find_vector.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 362
if hasattr(_libs['grass_gis.7.8'], 'G_find_vector2'):
    G_find_vector2 = _libs['grass_gis.7.8'].G_find_vector2
    G_find_vector2.argtypes = [String, String]
    G_find_vector2.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 365
if hasattr(_libs['grass_gis.7.8'], 'G_begin_geodesic_equation'):
    G_begin_geodesic_equation = _libs['grass_gis.7.8'].G_begin_geodesic_equation
    G_begin_geodesic_equation.argtypes = [c_double, c_double, c_double, c_double]
    G_begin_geodesic_equation.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 366
if hasattr(_libs['grass_gis.7.8'], 'G_geodesic_lat_from_lon'):
    G_geodesic_lat_from_lon = _libs['grass_gis.7.8'].G_geodesic_lat_from_lon
    G_geodesic_lat_from_lon.argtypes = [c_double]
    G_geodesic_lat_from_lon.restype = c_double

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 369
if hasattr(_libs['grass_gis.7.8'], 'G_begin_geodesic_distance'):
    G_begin_geodesic_distance = _libs['grass_gis.7.8'].G_begin_geodesic_distance
    G_begin_geodesic_distance.argtypes = [c_double, c_double]
    G_begin_geodesic_distance.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 370
if hasattr(_libs['grass_gis.7.8'], 'G_set_geodesic_distance_lat1'):
    G_set_geodesic_distance_lat1 = _libs['grass_gis.7.8'].G_set_geodesic_distance_lat1
    G_set_geodesic_distance_lat1.argtypes = [c_double]
    G_set_geodesic_distance_lat1.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 371
if hasattr(_libs['grass_gis.7.8'], 'G_set_geodesic_distance_lat2'):
    G_set_geodesic_distance_lat2 = _libs['grass_gis.7.8'].G_set_geodesic_distance_lat2
    G_set_geodesic_distance_lat2.argtypes = [c_double]
    G_set_geodesic_distance_lat2.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 372
if hasattr(_libs['grass_gis.7.8'], 'G_geodesic_distance_lon_to_lon'):
    G_geodesic_distance_lon_to_lon = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 373
if hasattr(_libs['grass_gis.7.8'], 'G_geodesic_distance'):
    G_geodesic_distance = _libs['grass_gis.7.8'].G_geodesic_distance
    G_geodesic_distance.argtypes = [c_double, c_double, c_double, c_double]
    G_geodesic_distance.restype = c_double

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 376
if hasattr(_libs['grass_gis.7.8'], 'G_get_ellipsoid_parameters'):
    G_get_ellipsoid_parameters = _libs['grass_gis.7.8'].G_get_ellipsoid_parameters
    G_get_ellipsoid_parameters.argtypes = [POINTER(c_double), POINTER(c_double)]
    G_get_ellipsoid_parameters.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 377
if hasattr(_libs['grass_gis.7.8'], 'G_get_spheroid_by_name'):
    G_get_spheroid_by_name = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 378
if hasattr(_libs['grass_gis.7.8'], 'G_get_ellipsoid_by_name'):
    G_get_ellipsoid_by_name = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 379
if hasattr(_libs['grass_gis.7.8'], 'G_ellipsoid_name'):
    G_ellipsoid_name = _libs['grass_gis.7.8'].G_ellipsoid_name
    G_ellipsoid_name.argtypes = [c_int]
    G_ellipsoid_name.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 380
if hasattr(_libs['grass_gis.7.8'], 'G_ellipsoid_description'):
    G_ellipsoid_description = _libs['grass_gis.7.8'].G_ellipsoid_description
    G_ellipsoid_description.argtypes = [c_int]
    G_ellipsoid_description.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 381
if hasattr(_libs['grass_gis.7.8'], 'G_read_ellipsoid_table'):
    G_read_ellipsoid_table = _libs['grass_gis.7.8'].G_read_ellipsoid_table
    G_read_ellipsoid_table.argtypes = [c_int]
    G_read_ellipsoid_table.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 384
if hasattr(_libs['grass_gis.7.8'], 'G_get_projunits'):
    G_get_projunits = _libs['grass_gis.7.8'].G_get_projunits
    G_get_projunits.argtypes = []
    G_get_projunits.restype = POINTER(struct_Key_Value)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 385
if hasattr(_libs['grass_gis.7.8'], 'G_get_projinfo'):
    G_get_projinfo = _libs['grass_gis.7.8'].G_get_projinfo
    G_get_projinfo.argtypes = []
    G_get_projinfo.restype = POINTER(struct_Key_Value)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 386
if hasattr(_libs['grass_gis.7.8'], 'G_get_projepsg'):
    G_get_projepsg = _libs['grass_gis.7.8'].G_get_projepsg
    G_get_projepsg.argtypes = []
    G_get_projepsg.restype = POINTER(struct_Key_Value)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 387
if hasattr(_libs['grass_gis.7.8'], 'G_get_projwkt'):
    G_get_projwkt = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 388
if hasattr(_libs['grass_gis.7.8'], 'G_get_projsrid'):
    G_get_projsrid = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 391
if hasattr(_libs['grass_gis.7.8'], 'G_get_window'):
    G_get_window = _libs['grass_gis.7.8'].G_get_window
    G_get_window.argtypes = [POINTER(struct_Cell_head)]
    G_get_window.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 392
if hasattr(_libs['grass_gis.7.8'], 'G_get_default_window'):
    G_get_default_window = _libs['grass_gis.7.8'].G_get_default_window
    G_get_default_window.argtypes = [POINTER(struct_Cell_head)]
    G_get_default_window.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 393
if hasattr(_libs['grass_gis.7.8'], 'G_get_element_window'):
    G_get_element_window = _libs['grass_gis.7.8'].G_get_element_window
    G_get_element_window.argtypes = [POINTER(struct_Cell_head), String, String, String]
    G_get_element_window.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 397
if hasattr(_libs['grass_gis.7.8'], 'G_getl'):
    G_getl = _libs['grass_gis.7.8'].G_getl
    G_getl.argtypes = [String, c_int, POINTER(FILE)]
    G_getl.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 398
if hasattr(_libs['grass_gis.7.8'], 'G_getl2'):
    G_getl2 = _libs['grass_gis.7.8'].G_getl2
    G_getl2.argtypes = [String, c_int, POINTER(FILE)]
    G_getl2.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 401
if hasattr(_libs['grass_gis.7.8'], 'G_gisbase'):
    G_gisbase = _libs['grass_gis.7.8'].G_gisbase
    G_gisbase.argtypes = []
    G_gisbase.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 404
if hasattr(_libs['grass_gis.7.8'], 'G_gisdbase'):
    G_gisdbase = _libs['grass_gis.7.8'].G_gisdbase
    G_gisdbase.argtypes = []
    G_gisdbase.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 407
if hasattr(_libs['grass_gis.7.8'], 'G__gisinit'):
    G__gisinit = _libs['grass_gis.7.8'].G__gisinit
    G__gisinit.argtypes = [String, String]
    G__gisinit.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 408
if hasattr(_libs['grass_gis.7.8'], 'G__no_gisinit'):
    G__no_gisinit = _libs['grass_gis.7.8'].G__no_gisinit
    G__no_gisinit.argtypes = [String]
    G__no_gisinit.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 409
if hasattr(_libs['grass_gis.7.8'], 'G_init_all'):
    G_init_all = _libs['grass_gis.7.8'].G_init_all
    G_init_all.argtypes = []
    G_init_all.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 412
if hasattr(_libs['grass_gis.7.8'], 'G_add_error_handler'):
    G_add_error_handler = _libs['grass_gis.7.8'].G_add_error_handler
    G_add_error_handler.argtypes = [CFUNCTYPE(UNCHECKED(None), POINTER(None)), POINTER(None)]
    G_add_error_handler.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 413
if hasattr(_libs['grass_gis.7.8'], 'G_remove_error_handler'):
    G_remove_error_handler = _libs['grass_gis.7.8'].G_remove_error_handler
    G_remove_error_handler.argtypes = [CFUNCTYPE(UNCHECKED(None), POINTER(None)), POINTER(None)]
    G_remove_error_handler.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 416
if hasattr(_libs['grass_gis.7.8'], 'G_home'):
    G_home = _libs['grass_gis.7.8'].G_home
    G_home.argtypes = []
    G_home.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 417
if hasattr(_libs['grass_gis.7.8'], 'G_config_path'):
    G_config_path = _libs['grass_gis.7.8'].G_config_path
    G_config_path.argtypes = []
    G_config_path.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 420
if hasattr(_libs['grass_gis.7.8'], 'G_init_ilist'):
    G_init_ilist = _libs['grass_gis.7.8'].G_init_ilist
    G_init_ilist.argtypes = [POINTER(struct_ilist)]
    G_init_ilist.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 421
if hasattr(_libs['grass_gis.7.8'], 'G_free_ilist'):
    G_free_ilist = _libs['grass_gis.7.8'].G_free_ilist
    G_free_ilist.argtypes = [POINTER(struct_ilist)]
    G_free_ilist.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 422
if hasattr(_libs['grass_gis.7.8'], 'G_new_ilist'):
    G_new_ilist = _libs['grass_gis.7.8'].G_new_ilist
    G_new_ilist.argtypes = []
    G_new_ilist.restype = POINTER(struct_ilist)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 423
if hasattr(_libs['grass_gis.7.8'], 'G_ilist_add'):
    G_ilist_add = _libs['grass_gis.7.8'].G_ilist_add
    G_ilist_add.argtypes = [POINTER(struct_ilist), c_int]
    G_ilist_add.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 426
if hasattr(_libs['grass_gis.7.8'], 'G_intersect_line_segments'):
    G_intersect_line_segments = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 431
if hasattr(_libs['grass_gis.7.8'], 'G_is_gisbase'):
    G_is_gisbase = _libs['grass_gis.7.8'].G_is_gisbase
    G_is_gisbase.argtypes = [String]
    G_is_gisbase.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 432
if hasattr(_libs['grass_gis.7.8'], 'G_is_location'):
    G_is_location = _libs['grass_gis.7.8'].G_is_location
    G_is_location.argtypes = [String]
    G_is_location.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 433
if hasattr(_libs['grass_gis.7.8'], 'G_is_mapset'):
    G_is_mapset = _libs['grass_gis.7.8'].G_is_mapset
    G_is_mapset.argtypes = [String]
    G_is_mapset.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 436
if hasattr(_libs['grass_gis.7.8'], 'G_create_key_value'):
    G_create_key_value = _libs['grass_gis.7.8'].G_create_key_value
    G_create_key_value.argtypes = []
    G_create_key_value.restype = POINTER(struct_Key_Value)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 437
if hasattr(_libs['grass_gis.7.8'], 'G_set_key_value'):
    G_set_key_value = _libs['grass_gis.7.8'].G_set_key_value
    G_set_key_value.argtypes = [String, String, POINTER(struct_Key_Value)]
    G_set_key_value.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 438
if hasattr(_libs['grass_gis.7.8'], 'G_find_key_value'):
    G_find_key_value = _libs['grass_gis.7.8'].G_find_key_value
    G_find_key_value.argtypes = [String, POINTER(struct_Key_Value)]
    G_find_key_value.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 439
if hasattr(_libs['grass_gis.7.8'], 'G_free_key_value'):
    G_free_key_value = _libs['grass_gis.7.8'].G_free_key_value
    G_free_key_value.argtypes = [POINTER(struct_Key_Value)]
    G_free_key_value.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 442
if hasattr(_libs['grass_gis.7.8'], 'G_fwrite_key_value'):
    G_fwrite_key_value = _libs['grass_gis.7.8'].G_fwrite_key_value
    G_fwrite_key_value.argtypes = [POINTER(FILE), POINTER(struct_Key_Value)]
    G_fwrite_key_value.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 443
if hasattr(_libs['grass_gis.7.8'], 'G_fread_key_value'):
    G_fread_key_value = _libs['grass_gis.7.8'].G_fread_key_value
    G_fread_key_value.argtypes = [POINTER(FILE)]
    G_fread_key_value.restype = POINTER(struct_Key_Value)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 446
if hasattr(_libs['grass_gis.7.8'], 'G_write_key_value_file'):
    G_write_key_value_file = _libs['grass_gis.7.8'].G_write_key_value_file
    G_write_key_value_file.argtypes = [String, POINTER(struct_Key_Value)]
    G_write_key_value_file.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 447
if hasattr(_libs['grass_gis.7.8'], 'G_read_key_value_file'):
    G_read_key_value_file = _libs['grass_gis.7.8'].G_read_key_value_file
    G_read_key_value_file.argtypes = [String]
    G_read_key_value_file.restype = POINTER(struct_Key_Value)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 450
if hasattr(_libs['grass_gis.7.8'], 'G_update_key_value_file'):
    G_update_key_value_file = _libs['grass_gis.7.8'].G_update_key_value_file
    G_update_key_value_file.argtypes = [String, String, String]
    G_update_key_value_file.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 451
if hasattr(_libs['grass_gis.7.8'], 'G_lookup_key_value_from_file'):
    G_lookup_key_value_from_file = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 454
if hasattr(_libs['grass_gis.7.8'], 'G_legal_filename'):
    G_legal_filename = _libs['grass_gis.7.8'].G_legal_filename
    G_legal_filename.argtypes = [String]
    G_legal_filename.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 455
if hasattr(_libs['grass_gis.7.8'], 'G_check_input_output_name'):
    G_check_input_output_name = _libs['grass_gis.7.8'].G_check_input_output_name
    G_check_input_output_name.argtypes = [String, String, c_int]
    G_check_input_output_name.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 458
if hasattr(_libs['grass_gis.7.8'], 'G_set_distance_to_line_tolerance'):
    G_set_distance_to_line_tolerance = _libs['grass_gis.7.8'].G_set_distance_to_line_tolerance
    G_set_distance_to_line_tolerance.argtypes = [c_double]
    G_set_distance_to_line_tolerance.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 459
if hasattr(_libs['grass_gis.7.8'], 'G_distance2_point_to_line'):
    G_distance2_point_to_line = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 463
if hasattr(_libs['grass_gis.7.8'], 'G_list_element'):
    G_list_element = _libs['grass_gis.7.8'].G_list_element
    G_list_element.argtypes = [String, String, String, CFUNCTYPE(UNCHECKED(c_int), String, String, String)]
    G_list_element.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 465
if hasattr(_libs['grass_gis.7.8'], 'G_list'):
    G_list = _libs['grass_gis.7.8'].G_list
    G_list.argtypes = [c_int, String, String, String]
    G_list.restype = POINTER(POINTER(c_char))

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 466
if hasattr(_libs['grass_gis.7.8'], 'G_free_list'):
    G_free_list = _libs['grass_gis.7.8'].G_free_list
    G_free_list.argtypes = [POINTER(POINTER(c_char))]
    G_free_list.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 469
if hasattr(_libs['grass_gis.7.8'], 'G_lat_format'):
    G_lat_format = _libs['grass_gis.7.8'].G_lat_format
    G_lat_format.argtypes = [c_double, String]
    G_lat_format.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 470
if hasattr(_libs['grass_gis.7.8'], 'G_lat_format_string'):
    G_lat_format_string = _libs['grass_gis.7.8'].G_lat_format_string
    G_lat_format_string.argtypes = []
    G_lat_format_string.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 471
if hasattr(_libs['grass_gis.7.8'], 'G_lon_format'):
    G_lon_format = _libs['grass_gis.7.8'].G_lon_format
    G_lon_format.argtypes = [c_double, String]
    G_lon_format.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 472
if hasattr(_libs['grass_gis.7.8'], 'G_lon_format_string'):
    G_lon_format_string = _libs['grass_gis.7.8'].G_lon_format_string
    G_lon_format_string.argtypes = []
    G_lon_format_string.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 473
if hasattr(_libs['grass_gis.7.8'], 'G_llres_format'):
    G_llres_format = _libs['grass_gis.7.8'].G_llres_format
    G_llres_format.argtypes = [c_double, String]
    G_llres_format.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 474
if hasattr(_libs['grass_gis.7.8'], 'G_llres_format_string'):
    G_llres_format_string = _libs['grass_gis.7.8'].G_llres_format_string
    G_llres_format_string.argtypes = []
    G_llres_format_string.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 475
if hasattr(_libs['grass_gis.7.8'], 'G_lat_parts'):
    G_lat_parts = _libs['grass_gis.7.8'].G_lat_parts
    G_lat_parts.argtypes = [c_double, POINTER(c_int), POINTER(c_int), POINTER(c_double), String]
    G_lat_parts.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 476
if hasattr(_libs['grass_gis.7.8'], 'G_lon_parts'):
    G_lon_parts = _libs['grass_gis.7.8'].G_lon_parts
    G_lon_parts.argtypes = [c_double, POINTER(c_int), POINTER(c_int), POINTER(c_double), String]
    G_lon_parts.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 479
if hasattr(_libs['grass_gis.7.8'], 'G_lat_scan'):
    G_lat_scan = _libs['grass_gis.7.8'].G_lat_scan
    G_lat_scan.argtypes = [String, POINTER(c_double)]
    G_lat_scan.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 480
if hasattr(_libs['grass_gis.7.8'], 'G_lon_scan'):
    G_lon_scan = _libs['grass_gis.7.8'].G_lon_scan
    G_lon_scan.argtypes = [String, POINTER(c_double)]
    G_lon_scan.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 481
if hasattr(_libs['grass_gis.7.8'], 'G_llres_scan'):
    G_llres_scan = _libs['grass_gis.7.8'].G_llres_scan
    G_llres_scan.argtypes = [String, POINTER(c_double)]
    G_llres_scan.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 484
if hasattr(_libs['grass_gis.7.8'], 'G_location'):
    G_location = _libs['grass_gis.7.8'].G_location
    G_location.argtypes = []
    G_location.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 485
if hasattr(_libs['grass_gis.7.8'], 'G_location_path'):
    G_location_path = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 488
if hasattr(_libs['grass_gis.7.8'], 'G_srand48'):
    G_srand48 = _libs['grass_gis.7.8'].G_srand48
    G_srand48.argtypes = [c_long]
    G_srand48.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 489
if hasattr(_libs['grass_gis.7.8'], 'G_srand48_auto'):
    G_srand48_auto = _libs['grass_gis.7.8'].G_srand48_auto
    G_srand48_auto.argtypes = []
    G_srand48_auto.restype = c_long

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 490
if hasattr(_libs['grass_gis.7.8'], 'G_lrand48'):
    G_lrand48 = _libs['grass_gis.7.8'].G_lrand48
    G_lrand48.argtypes = []
    G_lrand48.restype = c_long

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 491
if hasattr(_libs['grass_gis.7.8'], 'G_mrand48'):
    G_mrand48 = _libs['grass_gis.7.8'].G_mrand48
    G_mrand48.argtypes = []
    G_mrand48.restype = c_long

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 492
if hasattr(_libs['grass_gis.7.8'], 'G_drand48'):
    G_drand48 = _libs['grass_gis.7.8'].G_drand48
    G_drand48.argtypes = []
    G_drand48.restype = c_double

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 495
if hasattr(_libs['grass_gis.7.8'], 'G_set_ls_filter'):
    G_set_ls_filter = _libs['grass_gis.7.8'].G_set_ls_filter
    G_set_ls_filter.argtypes = [CFUNCTYPE(UNCHECKED(c_int), String, POINTER(None)), POINTER(None)]
    G_set_ls_filter.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 496
if hasattr(_libs['grass_gis.7.8'], 'G_set_ls_exclude_filter'):
    G_set_ls_exclude_filter = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 497
if hasattr(_libs['grass_gis.7.8'], 'G_ls2'):
    G_ls2 = _libs['grass_gis.7.8'].G_ls2
    G_ls2.argtypes = [String, POINTER(c_int)]
    G_ls2.restype = POINTER(POINTER(c_char))

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 498
if hasattr(_libs['grass_gis.7.8'], 'G_ls'):
    G_ls = _libs['grass_gis.7.8'].G_ls
    G_ls.argtypes = [String, POINTER(FILE)]
    G_ls.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 499
if hasattr(_libs['grass_gis.7.8'], 'G_ls_format'):
    G_ls_format = _libs['grass_gis.7.8'].G_ls_format
    G_ls_format.argtypes = [POINTER(POINTER(c_char)), c_int, c_int, POINTER(FILE)]
    G_ls_format.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 503
if hasattr(_libs['grass_gis.7.8'], 'G_ls_regex_filter'):
    G_ls_regex_filter = _libs['grass_gis.7.8'].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)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 504
if hasattr(_libs['grass_gis.7.8'], 'G_ls_glob_filter'):
    G_ls_glob_filter = _libs['grass_gis.7.8'].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)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 505
if hasattr(_libs['grass_gis.7.8'], 'G_free_ls_filter'):
    G_free_ls_filter = _libs['grass_gis.7.8'].G_free_ls_filter
    G_free_ls_filter.argtypes = [POINTER(None)]
    G_free_ls_filter.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 509
if hasattr(_libs['grass_gis.7.8'], 'G_make_location'):
    G_make_location = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 511
if hasattr(_libs['grass_gis.7.8'], 'G_make_location_epsg'):
    G_make_location_epsg = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 513
if hasattr(_libs['grass_gis.7.8'], 'G_make_location_crs'):
    G_make_location_crs = _libs['grass_gis.7.8'].G_make_location_crs
    G_make_location_crs.argtypes = [String, POINTER(struct_Cell_head), POINTER(struct_Key_Value), POINTER(struct_Key_Value), String, String]
    G_make_location_crs.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 516
if hasattr(_libs['grass_gis.7.8'], 'G_write_projsrid'):
    G_write_projsrid = _libs['grass_gis.7.8'].G_write_projsrid
    G_write_projsrid.argtypes = [String, String]
    G_write_projsrid.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 517
if hasattr(_libs['grass_gis.7.8'], 'G_write_projwkt'):
    G_write_projwkt = _libs['grass_gis.7.8'].G_write_projwkt
    G_write_projwkt.argtypes = [String, String]
    G_write_projwkt.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 518
if hasattr(_libs['grass_gis.7.8'], 'G_compare_projections'):
    G_compare_projections = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 522
if hasattr(_libs['grass_gis.7.8'], 'G_make_mapset'):
    G_make_mapset = _libs['grass_gis.7.8'].G_make_mapset
    G_make_mapset.argtypes = [String, String, String]
    G_make_mapset.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 525
if hasattr(_libs['grass_gis.7.8'], 'G_tolcase'):
    G_tolcase = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 526
if hasattr(_libs['grass_gis.7.8'], 'G_toucase'):
    G_toucase = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 529
if hasattr(_libs['grass_gis.7.8'], 'G_mapset'):
    G_mapset = _libs['grass_gis.7.8'].G_mapset
    G_mapset.argtypes = []
    G_mapset.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 530
if hasattr(_libs['grass_gis.7.8'], 'G_mapset_path'):
    G_mapset_path = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 533
if hasattr(_libs['grass_gis.7.8'], 'G_make_mapset_element'):
    G_make_mapset_element = _libs['grass_gis.7.8'].G_make_mapset_element
    G_make_mapset_element.argtypes = [String]
    G_make_mapset_element.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 534
if hasattr(_libs['grass_gis.7.8'], 'G_make_mapset_element_tmp'):
    G_make_mapset_element_tmp = _libs['grass_gis.7.8'].G_make_mapset_element_tmp
    G_make_mapset_element_tmp.argtypes = [String]
    G_make_mapset_element_tmp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 535
if hasattr(_libs['grass_gis.7.8'], 'G__make_mapset_element_misc'):
    G__make_mapset_element_misc = _libs['grass_gis.7.8'].G__make_mapset_element_misc
    G__make_mapset_element_misc.argtypes = [String, String]
    G__make_mapset_element_misc.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 536
if hasattr(_libs['grass_gis.7.8'], 'G_mapset_permissions'):
    G_mapset_permissions = _libs['grass_gis.7.8'].G_mapset_permissions
    G_mapset_permissions.argtypes = [String]
    G_mapset_permissions.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 537
if hasattr(_libs['grass_gis.7.8'], 'G_mapset_permissions2'):
    G_mapset_permissions2 = _libs['grass_gis.7.8'].G_mapset_permissions2
    G_mapset_permissions2.argtypes = [String, String, String]
    G_mapset_permissions2.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 540
if hasattr(_libs['grass_gis.7.8'], 'G_get_mapset_name'):
    G_get_mapset_name = _libs['grass_gis.7.8'].G_get_mapset_name
    G_get_mapset_name.argtypes = [c_int]
    G_get_mapset_name.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 541
if hasattr(_libs['grass_gis.7.8'], 'G_create_alt_search_path'):
    G_create_alt_search_path = _libs['grass_gis.7.8'].G_create_alt_search_path
    G_create_alt_search_path.argtypes = []
    G_create_alt_search_path.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 542
if hasattr(_libs['grass_gis.7.8'], 'G_switch_search_path'):
    G_switch_search_path = _libs['grass_gis.7.8'].G_switch_search_path
    G_switch_search_path.argtypes = []
    G_switch_search_path.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 543
if hasattr(_libs['grass_gis.7.8'], 'G_reset_mapsets'):
    G_reset_mapsets = _libs['grass_gis.7.8'].G_reset_mapsets
    G_reset_mapsets.argtypes = []
    G_reset_mapsets.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 544
if hasattr(_libs['grass_gis.7.8'], 'G_get_available_mapsets'):
    G_get_available_mapsets = _libs['grass_gis.7.8'].G_get_available_mapsets
    G_get_available_mapsets.argtypes = []
    G_get_available_mapsets.restype = POINTER(POINTER(c_char))

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 545
if hasattr(_libs['grass_gis.7.8'], 'G_add_mapset_to_search_path'):
    G_add_mapset_to_search_path = _libs['grass_gis.7.8'].G_add_mapset_to_search_path
    G_add_mapset_to_search_path.argtypes = [String]
    G_add_mapset_to_search_path.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 546
if hasattr(_libs['grass_gis.7.8'], 'G_is_mapset_in_search_path'):
    G_is_mapset_in_search_path = _libs['grass_gis.7.8'].G_is_mapset_in_search_path
    G_is_mapset_in_search_path.argtypes = [String]
    G_is_mapset_in_search_path.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 549
if hasattr(_libs['grass_gis.7.8'], 'G_myname'):
    G_myname = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 552
if hasattr(_libs['grass_gis.7.8'], 'G_color_values'):
    G_color_values = _libs['grass_gis.7.8'].G_color_values
    G_color_values.argtypes = [String, POINTER(c_float), POINTER(c_float), POINTER(c_float)]
    G_color_values.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 553
if hasattr(_libs['grass_gis.7.8'], 'G_color_name'):
    G_color_name = _libs['grass_gis.7.8'].G_color_name
    G_color_name.argtypes = [c_int]
    G_color_name.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 556
if hasattr(_libs['grass_gis.7.8'], 'G_newlines_to_spaces'):
    G_newlines_to_spaces = _libs['grass_gis.7.8'].G_newlines_to_spaces
    G_newlines_to_spaces.argtypes = [String]
    G_newlines_to_spaces.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 559
if hasattr(_libs['grass_gis.7.8'], 'G_name_is_fully_qualified'):
    G_name_is_fully_qualified = _libs['grass_gis.7.8'].G_name_is_fully_qualified
    G_name_is_fully_qualified.argtypes = [String, String, String]
    G_name_is_fully_qualified.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 560
if hasattr(_libs['grass_gis.7.8'], 'G_fully_qualified_name'):
    G_fully_qualified_name = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 561
if hasattr(_libs['grass_gis.7.8'], 'G_unqualified_name'):
    G_unqualified_name = _libs['grass_gis.7.8'].G_unqualified_name
    G_unqualified_name.argtypes = [String, String, String, String]
    G_unqualified_name.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 564
if hasattr(_libs['grass_gis.7.8'], 'G_open_new'):
    G_open_new = _libs['grass_gis.7.8'].G_open_new
    G_open_new.argtypes = [String, String]
    G_open_new.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 565
if hasattr(_libs['grass_gis.7.8'], 'G_open_old'):
    G_open_old = _libs['grass_gis.7.8'].G_open_old
    G_open_old.argtypes = [String, String, String]
    G_open_old.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 566
if hasattr(_libs['grass_gis.7.8'], 'G_open_update'):
    G_open_update = _libs['grass_gis.7.8'].G_open_update
    G_open_update.argtypes = [String, String]
    G_open_update.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 567
if hasattr(_libs['grass_gis.7.8'], 'G_fopen_new'):
    G_fopen_new = _libs['grass_gis.7.8'].G_fopen_new
    G_fopen_new.argtypes = [String, String]
    G_fopen_new.restype = POINTER(FILE)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 568
if hasattr(_libs['grass_gis.7.8'], 'G_fopen_old'):
    G_fopen_old = _libs['grass_gis.7.8'].G_fopen_old
    G_fopen_old.argtypes = [String, String, String]
    G_fopen_old.restype = POINTER(FILE)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 569
if hasattr(_libs['grass_gis.7.8'], 'G_fopen_append'):
    G_fopen_append = _libs['grass_gis.7.8'].G_fopen_append
    G_fopen_append.argtypes = [String, String]
    G_fopen_append.restype = POINTER(FILE)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 570
if hasattr(_libs['grass_gis.7.8'], 'G_fopen_modify'):
    G_fopen_modify = _libs['grass_gis.7.8'].G_fopen_modify
    G_fopen_modify.argtypes = [String, String]
    G_fopen_modify.restype = POINTER(FILE)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 573
if hasattr(_libs['grass_gis.7.8'], 'G_open_new_misc'):
    G_open_new_misc = _libs['grass_gis.7.8'].G_open_new_misc
    G_open_new_misc.argtypes = [String, String, String]
    G_open_new_misc.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 574
if hasattr(_libs['grass_gis.7.8'], 'G_open_old_misc'):
    G_open_old_misc = _libs['grass_gis.7.8'].G_open_old_misc
    G_open_old_misc.argtypes = [String, String, String, String]
    G_open_old_misc.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 575
if hasattr(_libs['grass_gis.7.8'], 'G_open_update_misc'):
    G_open_update_misc = _libs['grass_gis.7.8'].G_open_update_misc
    G_open_update_misc.argtypes = [String, String, String]
    G_open_update_misc.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 576
if hasattr(_libs['grass_gis.7.8'], 'G_fopen_new_misc'):
    G_fopen_new_misc = _libs['grass_gis.7.8'].G_fopen_new_misc
    G_fopen_new_misc.argtypes = [String, String, String]
    G_fopen_new_misc.restype = POINTER(FILE)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 577
if hasattr(_libs['grass_gis.7.8'], 'G_fopen_old_misc'):
    G_fopen_old_misc = _libs['grass_gis.7.8'].G_fopen_old_misc
    G_fopen_old_misc.argtypes = [String, String, String, String]
    G_fopen_old_misc.restype = POINTER(FILE)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 579
if hasattr(_libs['grass_gis.7.8'], 'G_fopen_append_misc'):
    G_fopen_append_misc = _libs['grass_gis.7.8'].G_fopen_append_misc
    G_fopen_append_misc.argtypes = [String, String, String]
    G_fopen_append_misc.restype = POINTER(FILE)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 580
if hasattr(_libs['grass_gis.7.8'], 'G_fopen_modify_misc'):
    G_fopen_modify_misc = _libs['grass_gis.7.8'].G_fopen_modify_misc
    G_fopen_modify_misc.argtypes = [String, String, String]
    G_fopen_modify_misc.restype = POINTER(FILE)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 583
if hasattr(_libs['grass_gis.7.8'], 'G_check_overwrite'):
    G_check_overwrite = _libs['grass_gis.7.8'].G_check_overwrite
    G_check_overwrite.argtypes = [c_int, POINTER(POINTER(c_char))]
    G_check_overwrite.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 586
if hasattr(_libs['grass_gis.7.8'], 'G_open_pager'):
    G_open_pager = _libs['grass_gis.7.8'].G_open_pager
    G_open_pager.argtypes = [POINTER(struct_Popen)]
    G_open_pager.restype = POINTER(FILE)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 587
if hasattr(_libs['grass_gis.7.8'], 'G_close_pager'):
    G_close_pager = _libs['grass_gis.7.8'].G_close_pager
    G_close_pager.argtypes = [POINTER(struct_Popen)]
    G_close_pager.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 588
if hasattr(_libs['grass_gis.7.8'], 'G_open_mail'):
    G_open_mail = _libs['grass_gis.7.8'].G_open_mail
    G_open_mail.argtypes = [POINTER(struct_Popen)]
    G_open_mail.restype = POINTER(FILE)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 589
if hasattr(_libs['grass_gis.7.8'], 'G_close_mail'):
    G_close_mail = _libs['grass_gis.7.8'].G_close_mail
    G_close_mail.argtypes = [POINTER(struct_Popen)]
    G_close_mail.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 592
if hasattr(_libs['grass_gis.7.8'], 'G_disable_interactive'):
    G_disable_interactive = _libs['grass_gis.7.8'].G_disable_interactive
    G_disable_interactive.argtypes = []
    G_disable_interactive.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 593
if hasattr(_libs['grass_gis.7.8'], 'G_define_module'):
    G_define_module = _libs['grass_gis.7.8'].G_define_module
    G_define_module.argtypes = []
    G_define_module.restype = POINTER(struct_GModule)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 594
if hasattr(_libs['grass_gis.7.8'], 'G_define_flag'):
    G_define_flag = _libs['grass_gis.7.8'].G_define_flag
    G_define_flag.argtypes = []
    G_define_flag.restype = POINTER(struct_Flag)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 595
if hasattr(_libs['grass_gis.7.8'], 'G_define_option'):
    G_define_option = _libs['grass_gis.7.8'].G_define_option
    G_define_option.argtypes = []
    G_define_option.restype = POINTER(struct_Option)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 596
if hasattr(_libs['grass_gis.7.8'], 'G_define_standard_option'):
    G_define_standard_option = _libs['grass_gis.7.8'].G_define_standard_option
    G_define_standard_option.argtypes = [c_int]
    G_define_standard_option.restype = POINTER(struct_Option)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 597
if hasattr(_libs['grass_gis.7.8'], 'G_define_standard_flag'):
    G_define_standard_flag = _libs['grass_gis.7.8'].G_define_standard_flag
    G_define_standard_flag.argtypes = [c_int]
    G_define_standard_flag.restype = POINTER(struct_Flag)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 598
if hasattr(_libs['grass_gis.7.8'], 'G_parser'):
    G_parser = _libs['grass_gis.7.8'].G_parser
    G_parser.argtypes = [c_int, POINTER(POINTER(c_char))]
    G_parser.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 599
if hasattr(_libs['grass_gis.7.8'], 'G_usage'):
    G_usage = _libs['grass_gis.7.8'].G_usage
    G_usage.argtypes = []
    G_usage.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 600
if hasattr(_libs['grass_gis.7.8'], 'G_recreate_command'):
    G_recreate_command = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 601
if hasattr(_libs['grass_gis.7.8'], 'G_add_keyword'):
    G_add_keyword = _libs['grass_gis.7.8'].G_add_keyword
    G_add_keyword.argtypes = [String]
    G_add_keyword.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 602
if hasattr(_libs['grass_gis.7.8'], 'G_set_keywords'):
    G_set_keywords = _libs['grass_gis.7.8'].G_set_keywords
    G_set_keywords.argtypes = [String]
    G_set_keywords.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 603
if hasattr(_libs['grass_gis.7.8'], 'G_get_overwrite'):
    G_get_overwrite = _libs['grass_gis.7.8'].G_get_overwrite
    G_get_overwrite.argtypes = []
    G_get_overwrite.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 604
if hasattr(_libs['grass_gis.7.8'], 'G_option_to_separator'):
    G_option_to_separator = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 605
if hasattr(_libs['grass_gis.7.8'], 'G_open_option_file'):
    G_open_option_file = _libs['grass_gis.7.8'].G_open_option_file
    G_open_option_file.argtypes = [POINTER(struct_Option)]
    G_open_option_file.restype = POINTER(FILE)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 606
if hasattr(_libs['grass_gis.7.8'], 'G_close_option_file'):
    G_close_option_file = _libs['grass_gis.7.8'].G_close_option_file
    G_close_option_file.argtypes = [POINTER(FILE)]
    G_close_option_file.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 609
if hasattr(_libs['grass_gis.7.8'], 'G_option_rule'):
    G_option_rule = _libs['grass_gis.7.8'].G_option_rule
    G_option_rule.argtypes = [c_int, c_int, POINTER(POINTER(None))]
    G_option_rule.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 610
if hasattr(_libs['grass_gis.7.8'], 'G_option_exclusive'):
    _func = _libs['grass_gis.7.8'].G_option_exclusive
    _restype = None
    _errcheck = None
    _argtypes = [POINTER(None)]
    G_option_exclusive = _variadic_function(_func,_restype,_argtypes,_errcheck)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 611
if hasattr(_libs['grass_gis.7.8'], 'G_option_required'):
    _func = _libs['grass_gis.7.8'].G_option_required
    _restype = None
    _errcheck = None
    _argtypes = [POINTER(None)]
    G_option_required = _variadic_function(_func,_restype,_argtypes,_errcheck)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 612
if hasattr(_libs['grass_gis.7.8'], 'G_option_requires'):
    _func = _libs['grass_gis.7.8'].G_option_requires
    _restype = None
    _errcheck = None
    _argtypes = [POINTER(None)]
    G_option_requires = _variadic_function(_func,_restype,_argtypes,_errcheck)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 613
if hasattr(_libs['grass_gis.7.8'], 'G_option_requires_all'):
    _func = _libs['grass_gis.7.8'].G_option_requires_all
    _restype = None
    _errcheck = None
    _argtypes = [POINTER(None)]
    G_option_requires_all = _variadic_function(_func,_restype,_argtypes,_errcheck)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 614
if hasattr(_libs['grass_gis.7.8'], 'G_option_excludes'):
    _func = _libs['grass_gis.7.8'].G_option_excludes
    _restype = None
    _errcheck = None
    _argtypes = [POINTER(None)]
    G_option_excludes = _variadic_function(_func,_restype,_argtypes,_errcheck)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 615
if hasattr(_libs['grass_gis.7.8'], 'G_option_collective'):
    _func = _libs['grass_gis.7.8'].G_option_collective
    _restype = None
    _errcheck = None
    _argtypes = [POINTER(None)]
    G_option_collective = _variadic_function(_func,_restype,_argtypes,_errcheck)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 618
if hasattr(_libs['grass_gis.7.8'], 'G_mkdir'):
    G_mkdir = _libs['grass_gis.7.8'].G_mkdir
    G_mkdir.argtypes = [String]
    G_mkdir.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 619
if hasattr(_libs['grass_gis.7.8'], 'G_is_dirsep'):
    G_is_dirsep = _libs['grass_gis.7.8'].G_is_dirsep
    G_is_dirsep.argtypes = [c_char]
    G_is_dirsep.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 620
if hasattr(_libs['grass_gis.7.8'], 'G_is_absolute_path'):
    G_is_absolute_path = _libs['grass_gis.7.8'].G_is_absolute_path
    G_is_absolute_path.argtypes = [String]
    G_is_absolute_path.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 621
if hasattr(_libs['grass_gis.7.8'], 'G_convert_dirseps_to_host'):
    G_convert_dirseps_to_host = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 622
if hasattr(_libs['grass_gis.7.8'], 'G_convert_dirseps_from_host'):
    G_convert_dirseps_from_host = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 623
if hasattr(_libs['grass_gis.7.8'], 'G_lstat'):
    G_lstat = _libs['grass_gis.7.8'].G_lstat
    G_lstat.argtypes = [String, POINTER(struct_stat)]
    G_lstat.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 624
if hasattr(_libs['grass_gis.7.8'], 'G_stat'):
    G_stat = _libs['grass_gis.7.8'].G_stat
    G_stat.argtypes = [String, POINTER(struct_stat)]
    G_stat.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 625
if hasattr(_libs['grass_gis.7.8'], 'G_owner'):
    G_owner = _libs['grass_gis.7.8'].G_owner
    G_owner.argtypes = [String]
    G_owner.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 628
if hasattr(_libs['grass_gis.7.8'], 'G_percent'):
    G_percent = _libs['grass_gis.7.8'].G_percent
    G_percent.argtypes = [c_long, c_long, c_int]
    G_percent.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 629
if hasattr(_libs['grass_gis.7.8'], 'G_percent_reset'):
    G_percent_reset = _libs['grass_gis.7.8'].G_percent_reset
    G_percent_reset.argtypes = []
    G_percent_reset.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 630
if hasattr(_libs['grass_gis.7.8'], 'G_progress'):
    G_progress = _libs['grass_gis.7.8'].G_progress
    G_progress.argtypes = [c_long, c_int]
    G_progress.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 631
if hasattr(_libs['grass_gis.7.8'], 'G_set_percent_routine'):
    G_set_percent_routine = _libs['grass_gis.7.8'].G_set_percent_routine
    G_set_percent_routine.argtypes = [CFUNCTYPE(UNCHECKED(c_int), c_int)]
    G_set_percent_routine.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 632
if hasattr(_libs['grass_gis.7.8'], 'G_unset_percent_routine'):
    G_unset_percent_routine = _libs['grass_gis.7.8'].G_unset_percent_routine
    G_unset_percent_routine.argtypes = []
    G_unset_percent_routine.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 635
if hasattr(_libs['grass_gis.7.8'], 'G_popen_clear'):
    G_popen_clear = _libs['grass_gis.7.8'].G_popen_clear
    G_popen_clear.argtypes = [POINTER(struct_Popen)]
    G_popen_clear.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 636
if hasattr(_libs['grass_gis.7.8'], 'G_popen_write'):
    G_popen_write = _libs['grass_gis.7.8'].G_popen_write
    G_popen_write.argtypes = [POINTER(struct_Popen), String, POINTER(POINTER(c_char))]
    G_popen_write.restype = POINTER(FILE)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 637
if hasattr(_libs['grass_gis.7.8'], 'G_popen_read'):
    G_popen_read = _libs['grass_gis.7.8'].G_popen_read
    G_popen_read.argtypes = [POINTER(struct_Popen), String, POINTER(POINTER(c_char))]
    G_popen_read.restype = POINTER(FILE)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 638
if hasattr(_libs['grass_gis.7.8'], 'G_popen_close'):
    G_popen_close = _libs['grass_gis.7.8'].G_popen_close
    G_popen_close.argtypes = [POINTER(struct_Popen)]
    G_popen_close.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 641
if hasattr(_libs['grass_gis.7.8'], 'G_setup_plot'):
    G_setup_plot = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 643
if hasattr(_libs['grass_gis.7.8'], 'G_setup_fill'):
    G_setup_fill = _libs['grass_gis.7.8'].G_setup_fill
    G_setup_fill.argtypes = [c_int]
    G_setup_fill.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 644
if hasattr(_libs['grass_gis.7.8'], 'G_plot_where_xy'):
    G_plot_where_xy = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 645
if hasattr(_libs['grass_gis.7.8'], 'G_plot_where_en'):
    G_plot_where_en = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 646
if hasattr(_libs['grass_gis.7.8'], 'G_plot_point'):
    G_plot_point = _libs['grass_gis.7.8'].G_plot_point
    G_plot_point.argtypes = [c_double, c_double]
    G_plot_point.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 647
if hasattr(_libs['grass_gis.7.8'], 'G_plot_line'):
    G_plot_line = _libs['grass_gis.7.8'].G_plot_line
    G_plot_line.argtypes = [c_double, c_double, c_double, c_double]
    G_plot_line.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 648
if hasattr(_libs['grass_gis.7.8'], 'G_plot_line2'):
    G_plot_line2 = _libs['grass_gis.7.8'].G_plot_line2
    G_plot_line2.argtypes = [c_double, c_double, c_double, c_double]
    G_plot_line2.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 649
if hasattr(_libs['grass_gis.7.8'], 'G_plot_polygon'):
    G_plot_polygon = _libs['grass_gis.7.8'].G_plot_polygon
    G_plot_polygon.argtypes = [POINTER(c_double), POINTER(c_double), c_int]
    G_plot_polygon.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 650
if hasattr(_libs['grass_gis.7.8'], 'G_plot_area'):
    G_plot_area = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 651
if hasattr(_libs['grass_gis.7.8'], 'G_plot_fx'):
    G_plot_fx = _libs['grass_gis.7.8'].G_plot_fx
    G_plot_fx.argtypes = [CFUNCTYPE(UNCHECKED(c_double), c_double), c_double, c_double]
    G_plot_fx.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 654
if hasattr(_libs['grass_gis.7.8'], 'G_pole_in_polygon'):
    G_pole_in_polygon = _libs['grass_gis.7.8'].G_pole_in_polygon
    G_pole_in_polygon.argtypes = [POINTER(c_double), POINTER(c_double), c_int]
    G_pole_in_polygon.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 657
if hasattr(_libs['grass_gis.7.8'], 'G_program_name'):
    G_program_name = _libs['grass_gis.7.8'].G_program_name
    G_program_name.argtypes = []
    G_program_name.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 658
if hasattr(_libs['grass_gis.7.8'], 'G_original_program_name'):
    G_original_program_name = _libs['grass_gis.7.8'].G_original_program_name
    G_original_program_name.argtypes = []
    G_original_program_name.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 659
if hasattr(_libs['grass_gis.7.8'], 'G_set_program_name'):
    G_set_program_name = _libs['grass_gis.7.8'].G_set_program_name
    G_set_program_name.argtypes = [String]
    G_set_program_name.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 662
if hasattr(_libs['grass_gis.7.8'], 'G_projection'):
    G_projection = _libs['grass_gis.7.8'].G_projection
    G_projection.argtypes = []
    G_projection.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 665
if hasattr(_libs['grass_gis.7.8'], 'G_projection_units'):
    G_projection_units = _libs['grass_gis.7.8'].G_projection_units
    G_projection_units.argtypes = [c_int]
    G_projection_units.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 666
if hasattr(_libs['grass_gis.7.8'], 'G_projection_name'):
    G_projection_name = _libs['grass_gis.7.8'].G_projection_name
    G_projection_name.argtypes = [c_int]
    G_projection_name.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 669
if hasattr(_libs['grass_gis.7.8'], 'G_database_unit_name'):
    G_database_unit_name = _libs['grass_gis.7.8'].G_database_unit_name
    G_database_unit_name.argtypes = [c_int]
    G_database_unit_name.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 670
if hasattr(_libs['grass_gis.7.8'], 'G_database_unit'):
    G_database_unit = _libs['grass_gis.7.8'].G_database_unit
    G_database_unit.argtypes = []
    G_database_unit.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 671
if hasattr(_libs['grass_gis.7.8'], 'G_database_projection_name'):
    G_database_projection_name = _libs['grass_gis.7.8'].G_database_projection_name
    G_database_projection_name.argtypes = []
    G_database_projection_name.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 672
if hasattr(_libs['grass_gis.7.8'], 'G_database_datum_name'):
    G_database_datum_name = _libs['grass_gis.7.8'].G_database_datum_name
    G_database_datum_name.argtypes = []
    G_database_datum_name.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 673
if hasattr(_libs['grass_gis.7.8'], 'G_database_ellipse_name'):
    G_database_ellipse_name = _libs['grass_gis.7.8'].G_database_ellipse_name
    G_database_ellipse_name.argtypes = []
    G_database_ellipse_name.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 674
if hasattr(_libs['grass_gis.7.8'], 'G_database_units_to_meters_factor'):
    G_database_units_to_meters_factor = _libs['grass_gis.7.8'].G_database_units_to_meters_factor
    G_database_units_to_meters_factor.argtypes = []
    G_database_units_to_meters_factor.restype = c_double

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 675
if hasattr(_libs['grass_gis.7.8'], 'G_database_epsg_code'):
    G_database_epsg_code = _libs['grass_gis.7.8'].G_database_epsg_code
    G_database_epsg_code.argtypes = []
    G_database_epsg_code.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 678
if hasattr(_libs['grass_gis.7.8'], 'G_put_window'):
    G_put_window = _libs['grass_gis.7.8'].G_put_window
    G_put_window.argtypes = [POINTER(struct_Cell_head)]
    G_put_window.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 679
if hasattr(_libs['grass_gis.7.8'], 'G_put_element_window'):
    G_put_element_window = _libs['grass_gis.7.8'].G_put_element_window
    G_put_element_window.argtypes = [POINTER(struct_Cell_head), String, String]
    G_put_element_window.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 682
if hasattr(_libs['grass_gis.7.8'], 'G_putenv'):
    G_putenv = _libs['grass_gis.7.8'].G_putenv
    G_putenv.argtypes = [String, String]
    G_putenv.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 685
if hasattr(_libs['grass_gis.7.8'], 'G_meridional_radius_of_curvature'):
    G_meridional_radius_of_curvature = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 686
if hasattr(_libs['grass_gis.7.8'], 'G_transverse_radius_of_curvature'):
    G_transverse_radius_of_curvature = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 687
if hasattr(_libs['grass_gis.7.8'], 'G_radius_of_conformal_tangent_sphere'):
    G_radius_of_conformal_tangent_sphere = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 690
if hasattr(_libs['grass_gis.7.8'], 'G__read_Cell_head'):
    G__read_Cell_head = _libs['grass_gis.7.8'].G__read_Cell_head
    G__read_Cell_head.argtypes = [POINTER(FILE), POINTER(struct_Cell_head), c_int]
    G__read_Cell_head.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 691
if hasattr(_libs['grass_gis.7.8'], 'G__read_Cell_head_array'):
    G__read_Cell_head_array = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 694
if hasattr(_libs['grass_gis.7.8'], 'G_remove'):
    G_remove = _libs['grass_gis.7.8'].G_remove
    G_remove.argtypes = [String, String]
    G_remove.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 695
if hasattr(_libs['grass_gis.7.8'], 'G_remove_misc'):
    G_remove_misc = _libs['grass_gis.7.8'].G_remove_misc
    G_remove_misc.argtypes = [String, String, String]
    G_remove_misc.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 696
if hasattr(_libs['grass_gis.7.8'], 'G_recursive_remove'):
    G_recursive_remove = _libs['grass_gis.7.8'].G_recursive_remove
    G_recursive_remove.argtypes = [String]
    G_recursive_remove.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 699
if hasattr(_libs['grass_gis.7.8'], 'G_rename_file'):
    G_rename_file = _libs['grass_gis.7.8'].G_rename_file
    G_rename_file.argtypes = [String, String]
    G_rename_file.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 700
if hasattr(_libs['grass_gis.7.8'], 'G_rename'):
    G_rename = _libs['grass_gis.7.8'].G_rename
    G_rename.argtypes = [String, String, String]
    G_rename.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 703
if hasattr(_libs['grass_gis.7.8'], 'G_begin_rhumbline_equation'):
    G_begin_rhumbline_equation = _libs['grass_gis.7.8'].G_begin_rhumbline_equation
    G_begin_rhumbline_equation.argtypes = [c_double, c_double, c_double, c_double]
    G_begin_rhumbline_equation.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 704
if hasattr(_libs['grass_gis.7.8'], 'G_rhumbline_lat_from_lon'):
    G_rhumbline_lat_from_lon = _libs['grass_gis.7.8'].G_rhumbline_lat_from_lon
    G_rhumbline_lat_from_lon.argtypes = [c_double]
    G_rhumbline_lat_from_lon.restype = c_double

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 707
if hasattr(_libs['grass_gis.7.8'], 'G_rotate_around_point'):
    G_rotate_around_point = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 708
if hasattr(_libs['grass_gis.7.8'], 'G_rotate_around_point_int'):
    G_rotate_around_point_int = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 711
if hasattr(_libs['grass_gis.7.8'], 'G_ftell'):
    G_ftell = _libs['grass_gis.7.8'].G_ftell
    G_ftell.argtypes = [POINTER(FILE)]
    G_ftell.restype = off_t

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 712
if hasattr(_libs['grass_gis.7.8'], 'G_fseek'):
    G_fseek = _libs['grass_gis.7.8'].G_fseek
    G_fseek.argtypes = [POINTER(FILE), off_t, c_int]
    G_fseek.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 715
if hasattr(_libs['grass_gis.7.8'], 'G_get_set_window'):
    G_get_set_window = _libs['grass_gis.7.8'].G_get_set_window
    G_get_set_window.argtypes = [POINTER(struct_Cell_head)]
    G_get_set_window.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 716
if hasattr(_libs['grass_gis.7.8'], 'G_set_window'):
    G_set_window = _libs['grass_gis.7.8'].G_set_window
    G_set_window.argtypes = [POINTER(struct_Cell_head)]
    G_set_window.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 717
if hasattr(_libs['grass_gis.7.8'], 'G_unset_window'):
    G_unset_window = _libs['grass_gis.7.8'].G_unset_window
    G_unset_window.argtypes = []
    G_unset_window.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 720
if hasattr(_libs['grass_gis.7.8'], 'G_shortest_way'):
    G_shortest_way = _libs['grass_gis.7.8'].G_shortest_way
    G_shortest_way.argtypes = [POINTER(c_double), POINTER(c_double)]
    G_shortest_way.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 723
if hasattr(_libs['grass_gis.7.8'], 'G_sleep'):
    G_sleep = _libs['grass_gis.7.8'].G_sleep
    G_sleep.argtypes = [c_uint]
    G_sleep.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 726
if hasattr(_libs['grass_gis.7.8'], 'G_snprintf'):
    _func = _libs['grass_gis.7.8'].G_snprintf
    _restype = c_int
    _errcheck = None
    _argtypes = [String, c_size_t, String]
    G_snprintf = _variadic_function(_func,_restype,_argtypes,_errcheck)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 730
if hasattr(_libs['grass_gis.7.8'], 'G_strcasecmp'):
    G_strcasecmp = _libs['grass_gis.7.8'].G_strcasecmp
    G_strcasecmp.argtypes = [String, String]
    G_strcasecmp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 731
if hasattr(_libs['grass_gis.7.8'], 'G_strncasecmp'):
    G_strncasecmp = _libs['grass_gis.7.8'].G_strncasecmp
    G_strncasecmp.argtypes = [String, String, c_int]
    G_strncasecmp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 732
if hasattr(_libs['grass_gis.7.8'], 'G_store'):
    G_store = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 733
if hasattr(_libs['grass_gis.7.8'], 'G_store_upper'):
    G_store_upper = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 734
if hasattr(_libs['grass_gis.7.8'], 'G_store_lower'):
    G_store_lower = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 735
if hasattr(_libs['grass_gis.7.8'], 'G_strchg'):
    G_strchg = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 736
if hasattr(_libs['grass_gis.7.8'], 'G_str_replace'):
    G_str_replace = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 737
if hasattr(_libs['grass_gis.7.8'], 'G_strip'):
    G_strip = _libs['grass_gis.7.8'].G_strip
    G_strip.argtypes = [String]
    G_strip.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 738
if hasattr(_libs['grass_gis.7.8'], 'G_chop'):
    G_chop = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 739
if hasattr(_libs['grass_gis.7.8'], 'G_str_to_upper'):
    G_str_to_upper = _libs['grass_gis.7.8'].G_str_to_upper
    G_str_to_upper.argtypes = [String]
    G_str_to_upper.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 740
if hasattr(_libs['grass_gis.7.8'], 'G_str_to_lower'):
    G_str_to_lower = _libs['grass_gis.7.8'].G_str_to_lower
    G_str_to_lower.argtypes = [String]
    G_str_to_lower.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 741
if hasattr(_libs['grass_gis.7.8'], 'G_str_to_sql'):
    G_str_to_sql = _libs['grass_gis.7.8'].G_str_to_sql
    G_str_to_sql.argtypes = [String]
    G_str_to_sql.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 742
if hasattr(_libs['grass_gis.7.8'], 'G_squeeze'):
    G_squeeze = _libs['grass_gis.7.8'].G_squeeze
    G_squeeze.argtypes = [String]
    G_squeeze.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 743
if hasattr(_libs['grass_gis.7.8'], 'G_strcasestr'):
    G_strcasestr = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 746
if hasattr(_libs['grass_gis.7.8'], 'G_init_tempfile'):
    G_init_tempfile = _libs['grass_gis.7.8'].G_init_tempfile
    G_init_tempfile.argtypes = []
    G_init_tempfile.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 747
if hasattr(_libs['grass_gis.7.8'], 'G_tempfile'):
    G_tempfile = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 748
if hasattr(_libs['grass_gis.7.8'], 'G_tempfile_pid'):
    G_tempfile_pid = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 749
if hasattr(_libs['grass_gis.7.8'], 'G_temp_element'):
    G_temp_element = _libs['grass_gis.7.8'].G_temp_element
    G_temp_element.argtypes = [String]
    G_temp_element.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 750
if hasattr(_libs['grass_gis.7.8'], 'G__temp_element'):
    G__temp_element = _libs['grass_gis.7.8'].G__temp_element
    G__temp_element.argtypes = [String, c_int]
    G__temp_element.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 753
if hasattr(_libs['grass_gis.7.8'], 'G_mktemp'):
    G_mktemp = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 754
if hasattr(_libs['grass_gis.7.8'], 'G_mkstemp'):
    G_mkstemp = _libs['grass_gis.7.8'].G_mkstemp
    G_mkstemp.argtypes = [String, c_int, c_int]
    G_mkstemp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 755
if hasattr(_libs['grass_gis.7.8'], 'G_mkstemp_fp'):
    G_mkstemp_fp = _libs['grass_gis.7.8'].G_mkstemp_fp
    G_mkstemp_fp.argtypes = [String, c_int, c_int]
    G_mkstemp_fp.restype = POINTER(FILE)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 758
if hasattr(_libs['grass_gis.7.8'], 'G_init_timestamp'):
    G_init_timestamp = _libs['grass_gis.7.8'].G_init_timestamp
    G_init_timestamp.argtypes = [POINTER(struct_TimeStamp)]
    G_init_timestamp.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 759
if hasattr(_libs['grass_gis.7.8'], 'G_set_timestamp'):
    G_set_timestamp = _libs['grass_gis.7.8'].G_set_timestamp
    G_set_timestamp.argtypes = [POINTER(struct_TimeStamp), POINTER(struct_DateTime)]
    G_set_timestamp.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 760
if hasattr(_libs['grass_gis.7.8'], 'G_set_timestamp_range'):
    G_set_timestamp_range = _libs['grass_gis.7.8'].G_set_timestamp_range
    G_set_timestamp_range.argtypes = [POINTER(struct_TimeStamp), POINTER(struct_DateTime), POINTER(struct_DateTime)]
    G_set_timestamp_range.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 762
if hasattr(_libs['grass_gis.7.8'], 'G_write_timestamp'):
    G_write_timestamp = _libs['grass_gis.7.8'].G_write_timestamp
    G_write_timestamp.argtypes = [POINTER(FILE), POINTER(struct_TimeStamp)]
    G_write_timestamp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 763
if hasattr(_libs['grass_gis.7.8'], 'G_get_timestamps'):
    G_get_timestamps = _libs['grass_gis.7.8'].G_get_timestamps
    G_get_timestamps.argtypes = [POINTER(struct_TimeStamp), POINTER(struct_DateTime), POINTER(struct_DateTime), POINTER(c_int)]
    G_get_timestamps.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 764
if hasattr(_libs['grass_gis.7.8'], 'G_format_timestamp'):
    G_format_timestamp = _libs['grass_gis.7.8'].G_format_timestamp
    G_format_timestamp.argtypes = [POINTER(struct_TimeStamp), String]
    G_format_timestamp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 765
if hasattr(_libs['grass_gis.7.8'], 'G_scan_timestamp'):
    G_scan_timestamp = _libs['grass_gis.7.8'].G_scan_timestamp
    G_scan_timestamp.argtypes = [POINTER(struct_TimeStamp), String]
    G_scan_timestamp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 766
if hasattr(_libs['grass_gis.7.8'], 'G_has_raster_timestamp'):
    G_has_raster_timestamp = _libs['grass_gis.7.8'].G_has_raster_timestamp
    G_has_raster_timestamp.argtypes = [String, String]
    G_has_raster_timestamp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 767
if hasattr(_libs['grass_gis.7.8'], 'G_read_raster_timestamp'):
    G_read_raster_timestamp = _libs['grass_gis.7.8'].G_read_raster_timestamp
    G_read_raster_timestamp.argtypes = [String, String, POINTER(struct_TimeStamp)]
    G_read_raster_timestamp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 768
if hasattr(_libs['grass_gis.7.8'], 'G_write_raster_timestamp'):
    G_write_raster_timestamp = _libs['grass_gis.7.8'].G_write_raster_timestamp
    G_write_raster_timestamp.argtypes = [String, POINTER(struct_TimeStamp)]
    G_write_raster_timestamp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 769
if hasattr(_libs['grass_gis.7.8'], 'G_remove_raster_timestamp'):
    G_remove_raster_timestamp = _libs['grass_gis.7.8'].G_remove_raster_timestamp
    G_remove_raster_timestamp.argtypes = [String]
    G_remove_raster_timestamp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 770
if hasattr(_libs['grass_gis.7.8'], 'G_has_vector_timestamp'):
    G_has_vector_timestamp = _libs['grass_gis.7.8'].G_has_vector_timestamp
    G_has_vector_timestamp.argtypes = [String, String, String]
    G_has_vector_timestamp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 771
if hasattr(_libs['grass_gis.7.8'], 'G_read_vector_timestamp'):
    G_read_vector_timestamp = _libs['grass_gis.7.8'].G_read_vector_timestamp
    G_read_vector_timestamp.argtypes = [String, String, String, POINTER(struct_TimeStamp)]
    G_read_vector_timestamp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 772
if hasattr(_libs['grass_gis.7.8'], 'G_write_vector_timestamp'):
    G_write_vector_timestamp = _libs['grass_gis.7.8'].G_write_vector_timestamp
    G_write_vector_timestamp.argtypes = [String, String, POINTER(struct_TimeStamp)]
    G_write_vector_timestamp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 773
if hasattr(_libs['grass_gis.7.8'], 'G_remove_vector_timestamp'):
    G_remove_vector_timestamp = _libs['grass_gis.7.8'].G_remove_vector_timestamp
    G_remove_vector_timestamp.argtypes = [String, String]
    G_remove_vector_timestamp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 774
if hasattr(_libs['grass_gis.7.8'], 'G_has_raster3d_timestamp'):
    G_has_raster3d_timestamp = _libs['grass_gis.7.8'].G_has_raster3d_timestamp
    G_has_raster3d_timestamp.argtypes = [String, String]
    G_has_raster3d_timestamp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 775
if hasattr(_libs['grass_gis.7.8'], 'G_read_raster3d_timestamp'):
    G_read_raster3d_timestamp = _libs['grass_gis.7.8'].G_read_raster3d_timestamp
    G_read_raster3d_timestamp.argtypes = [String, String, POINTER(struct_TimeStamp)]
    G_read_raster3d_timestamp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 776
if hasattr(_libs['grass_gis.7.8'], 'G_remove_raster3d_timestamp'):
    G_remove_raster3d_timestamp = _libs['grass_gis.7.8'].G_remove_raster3d_timestamp
    G_remove_raster3d_timestamp.argtypes = [String]
    G_remove_raster3d_timestamp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 777
if hasattr(_libs['grass_gis.7.8'], 'G_write_raster3d_timestamp'):
    G_write_raster3d_timestamp = _libs['grass_gis.7.8'].G_write_raster3d_timestamp
    G_write_raster3d_timestamp.argtypes = [String, POINTER(struct_TimeStamp)]
    G_write_raster3d_timestamp.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 780
if hasattr(_libs['grass_gis.7.8'], 'G_tokenize'):
    G_tokenize = _libs['grass_gis.7.8'].G_tokenize
    G_tokenize.argtypes = [String, String]
    G_tokenize.restype = POINTER(POINTER(c_char))

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 781
if hasattr(_libs['grass_gis.7.8'], 'G_tokenize2'):
    G_tokenize2 = _libs['grass_gis.7.8'].G_tokenize2
    G_tokenize2.argtypes = [String, String, String]
    G_tokenize2.restype = POINTER(POINTER(c_char))

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 782
if hasattr(_libs['grass_gis.7.8'], 'G_number_of_tokens'):
    G_number_of_tokens = _libs['grass_gis.7.8'].G_number_of_tokens
    G_number_of_tokens.argtypes = [POINTER(POINTER(c_char))]
    G_number_of_tokens.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 783
if hasattr(_libs['grass_gis.7.8'], 'G_free_tokens'):
    G_free_tokens = _libs['grass_gis.7.8'].G_free_tokens
    G_free_tokens.argtypes = [POINTER(POINTER(c_char))]
    G_free_tokens.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 786
if hasattr(_libs['grass_gis.7.8'], 'G_trim_decimal'):
    G_trim_decimal = _libs['grass_gis.7.8'].G_trim_decimal
    G_trim_decimal.argtypes = [String]
    G_trim_decimal.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 789
if hasattr(_libs['grass_gis.7.8'], 'G_meters_to_units_factor'):
    G_meters_to_units_factor = _libs['grass_gis.7.8'].G_meters_to_units_factor
    G_meters_to_units_factor.argtypes = [c_int]
    G_meters_to_units_factor.restype = c_double

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 790
if hasattr(_libs['grass_gis.7.8'], 'G_meters_to_units_factor_sq'):
    G_meters_to_units_factor_sq = _libs['grass_gis.7.8'].G_meters_to_units_factor_sq
    G_meters_to_units_factor_sq.argtypes = [c_int]
    G_meters_to_units_factor_sq.restype = c_double

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 791
if hasattr(_libs['grass_gis.7.8'], 'G_get_units_name'):
    G_get_units_name = _libs['grass_gis.7.8'].G_get_units_name
    G_get_units_name.argtypes = [c_int, c_int, c_int]
    G_get_units_name.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 792
if hasattr(_libs['grass_gis.7.8'], 'G_units'):
    G_units = _libs['grass_gis.7.8'].G_units
    G_units.argtypes = [String]
    G_units.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 793
if hasattr(_libs['grass_gis.7.8'], 'G_is_units_type_spatial'):
    G_is_units_type_spatial = _libs['grass_gis.7.8'].G_is_units_type_spatial
    G_is_units_type_spatial.argtypes = [c_int]
    G_is_units_type_spatial.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 794
if hasattr(_libs['grass_gis.7.8'], 'G_is_units_type_temporal'):
    G_is_units_type_temporal = _libs['grass_gis.7.8'].G_is_units_type_temporal
    G_is_units_type_temporal.argtypes = [c_int]
    G_is_units_type_temporal.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 798
if hasattr(_libs['grass_gis.7.8'], 'G_rc_path'):
    G_rc_path = _libs['grass_gis.7.8'].G_rc_path
    G_rc_path.argtypes = [String, String]
    if sizeof(c_int) == sizeof(c_void_p):
        G_rc_path.restype = ReturnString
    else:
        G_rc_path.restype = String
        G_rc_path.errcheck = ReturnString

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 802
if hasattr(_libs['grass_gis.7.8'], 'G_verbose'):
    G_verbose = _libs['grass_gis.7.8'].G_verbose
    G_verbose.argtypes = []
    G_verbose.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 803
if hasattr(_libs['grass_gis.7.8'], 'G_verbose_min'):
    G_verbose_min = _libs['grass_gis.7.8'].G_verbose_min
    G_verbose_min.argtypes = []
    G_verbose_min.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 804
if hasattr(_libs['grass_gis.7.8'], 'G_verbose_std'):
    G_verbose_std = _libs['grass_gis.7.8'].G_verbose_std
    G_verbose_std.argtypes = []
    G_verbose_std.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 805
if hasattr(_libs['grass_gis.7.8'], 'G_verbose_max'):
    G_verbose_max = _libs['grass_gis.7.8'].G_verbose_max
    G_verbose_max.argtypes = []
    G_verbose_max.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 806
if hasattr(_libs['grass_gis.7.8'], 'G_set_verbose'):
    G_set_verbose = _libs['grass_gis.7.8'].G_set_verbose
    G_set_verbose.argtypes = [c_int]
    G_set_verbose.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 809
if hasattr(_libs['grass_gis.7.8'], 'G_3dview_warning'):
    G_3dview_warning = _libs['grass_gis.7.8'].G_3dview_warning
    G_3dview_warning.argtypes = [c_int]
    G_3dview_warning.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 810
if hasattr(_libs['grass_gis.7.8'], 'G_get_3dview_defaults'):
    G_get_3dview_defaults = _libs['grass_gis.7.8'].G_get_3dview_defaults
    G_get_3dview_defaults.argtypes = [POINTER(struct_G_3dview), POINTER(struct_Cell_head)]
    G_get_3dview_defaults.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 811
if hasattr(_libs['grass_gis.7.8'], 'G_put_3dview'):
    G_put_3dview = _libs['grass_gis.7.8'].G_put_3dview
    G_put_3dview.argtypes = [String, String, POINTER(struct_G_3dview), POINTER(struct_Cell_head)]
    G_put_3dview.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 813
if hasattr(_libs['grass_gis.7.8'], 'G_get_3dview'):
    G_get_3dview = _libs['grass_gis.7.8'].G_get_3dview
    G_get_3dview.argtypes = [String, String, POINTER(struct_G_3dview)]
    G_get_3dview.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 816
if hasattr(_libs['grass_gis.7.8'], 'G_whoami'):
    G_whoami = _libs['grass_gis.7.8'].G_whoami
    G_whoami.argtypes = []
    G_whoami.restype = c_char_p

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 819
if hasattr(_libs['grass_gis.7.8'], 'G_adjust_window_to_box'):
    G_adjust_window_to_box = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 823
if hasattr(_libs['grass_gis.7.8'], 'G_format_northing'):
    G_format_northing = _libs['grass_gis.7.8'].G_format_northing
    G_format_northing.argtypes = [c_double, String, c_int]
    G_format_northing.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 824
if hasattr(_libs['grass_gis.7.8'], 'G_format_easting'):
    G_format_easting = _libs['grass_gis.7.8'].G_format_easting
    G_format_easting.argtypes = [c_double, String, c_int]
    G_format_easting.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 825
if hasattr(_libs['grass_gis.7.8'], 'G_format_resolution'):
    G_format_resolution = _libs['grass_gis.7.8'].G_format_resolution
    G_format_resolution.argtypes = [c_double, String, c_int]
    G_format_resolution.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 828
if hasattr(_libs['grass_gis.7.8'], 'G_point_in_region'):
    G_point_in_region = _libs['grass_gis.7.8'].G_point_in_region
    G_point_in_region.argtypes = [c_double, c_double]
    G_point_in_region.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 829
if hasattr(_libs['grass_gis.7.8'], 'G_point_in_window'):
    G_point_in_window = _libs['grass_gis.7.8'].G_point_in_window
    G_point_in_window.argtypes = [c_double, c_double, POINTER(struct_Cell_head)]
    G_point_in_window.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 832
if hasattr(_libs['grass_gis.7.8'], 'G_limit_east'):
    G_limit_east = _libs['grass_gis.7.8'].G_limit_east
    G_limit_east.argtypes = [POINTER(c_double), c_int]
    G_limit_east.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 833
if hasattr(_libs['grass_gis.7.8'], 'G_limit_west'):
    G_limit_west = _libs['grass_gis.7.8'].G_limit_west
    G_limit_west.argtypes = [POINTER(c_double), c_int]
    G_limit_west.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 834
if hasattr(_libs['grass_gis.7.8'], 'G_limit_north'):
    G_limit_north = _libs['grass_gis.7.8'].G_limit_north
    G_limit_north.argtypes = [POINTER(c_double), c_int]
    G_limit_north.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 835
if hasattr(_libs['grass_gis.7.8'], 'G_limit_south'):
    G_limit_south = _libs['grass_gis.7.8'].G_limit_south
    G_limit_south.argtypes = [POINTER(c_double), c_int]
    G_limit_south.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 838
if hasattr(_libs['grass_gis.7.8'], 'G_window_overlap'):
    G_window_overlap = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 840
if hasattr(_libs['grass_gis.7.8'], 'G_window_percentage_overlap'):
    G_window_percentage_overlap = _libs['grass_gis.7.8'].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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 844
if hasattr(_libs['grass_gis.7.8'], 'G_scan_northing'):
    G_scan_northing = _libs['grass_gis.7.8'].G_scan_northing
    G_scan_northing.argtypes = [String, POINTER(c_double), c_int]
    G_scan_northing.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 845
if hasattr(_libs['grass_gis.7.8'], 'G_scan_easting'):
    G_scan_easting = _libs['grass_gis.7.8'].G_scan_easting
    G_scan_easting.argtypes = [String, POINTER(c_double), c_int]
    G_scan_easting.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 846
if hasattr(_libs['grass_gis.7.8'], 'G_scan_resolution'):
    G_scan_resolution = _libs['grass_gis.7.8'].G_scan_resolution
    G_scan_resolution.argtypes = [String, POINTER(c_double), c_int]
    G_scan_resolution.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 849
if hasattr(_libs['grass_gis.7.8'], 'G_adjust_east_longitude'):
    G_adjust_east_longitude = _libs['grass_gis.7.8'].G_adjust_east_longitude
    G_adjust_east_longitude.argtypes = [c_double, c_double]
    G_adjust_east_longitude.restype = c_double

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 850
if hasattr(_libs['grass_gis.7.8'], 'G_adjust_easting'):
    G_adjust_easting = _libs['grass_gis.7.8'].G_adjust_easting
    G_adjust_easting.argtypes = [c_double, POINTER(struct_Cell_head)]
    G_adjust_easting.restype = c_double

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 851
if hasattr(_libs['grass_gis.7.8'], 'G__init_window'):
    G__init_window = _libs['grass_gis.7.8'].G__init_window
    G__init_window.argtypes = []
    G__init_window.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 854
if hasattr(_libs['grass_gis.7.8'], 'G_begin_execute'):
    G_begin_execute = _libs['grass_gis.7.8'].G_begin_execute
    G_begin_execute.argtypes = [CFUNCTYPE(UNCHECKED(None), POINTER(None)), POINTER(None), POINTER(POINTER(None)), c_int]
    G_begin_execute.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 855
if hasattr(_libs['grass_gis.7.8'], 'G_end_execute'):
    G_end_execute = _libs['grass_gis.7.8'].G_end_execute
    G_end_execute.argtypes = [POINTER(POINTER(None))]
    G_end_execute.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 856
if hasattr(_libs['grass_gis.7.8'], 'G_init_workers'):
    G_init_workers = _libs['grass_gis.7.8'].G_init_workers
    G_init_workers.argtypes = []
    G_init_workers.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 857
if hasattr(_libs['grass_gis.7.8'], 'G_finish_workers'):
    G_finish_workers = _libs['grass_gis.7.8'].G_finish_workers
    G_finish_workers.argtypes = []
    G_finish_workers.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 860
if hasattr(_libs['grass_gis.7.8'], 'G__write_Cell_head'):
    G__write_Cell_head = _libs['grass_gis.7.8'].G__write_Cell_head
    G__write_Cell_head.argtypes = [POINTER(FILE), POINTER(struct_Cell_head), c_int]
    G__write_Cell_head.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 861
if hasattr(_libs['grass_gis.7.8'], 'G__write_Cell_head3'):
    G__write_Cell_head3 = _libs['grass_gis.7.8'].G__write_Cell_head3
    G__write_Cell_head3.argtypes = [POINTER(FILE), POINTER(struct_Cell_head), c_int]
    G__write_Cell_head3.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 864
if hasattr(_libs['grass_gis.7.8'], 'G_write_zeros'):
    G_write_zeros = _libs['grass_gis.7.8'].G_write_zeros
    G_write_zeros.argtypes = [c_int, c_size_t]
    G_write_zeros.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 867
if hasattr(_libs['grass_gis.7.8'], 'G_xdr_get_int'):
    G_xdr_get_int = _libs['grass_gis.7.8'].G_xdr_get_int
    G_xdr_get_int.argtypes = [POINTER(c_int), POINTER(None)]
    G_xdr_get_int.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 868
if hasattr(_libs['grass_gis.7.8'], 'G_xdr_put_int'):
    G_xdr_put_int = _libs['grass_gis.7.8'].G_xdr_put_int
    G_xdr_put_int.argtypes = [POINTER(None), POINTER(c_int)]
    G_xdr_put_int.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 869
if hasattr(_libs['grass_gis.7.8'], 'G_xdr_get_float'):
    G_xdr_get_float = _libs['grass_gis.7.8'].G_xdr_get_float
    G_xdr_get_float.argtypes = [POINTER(c_float), POINTER(None)]
    G_xdr_get_float.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 870
if hasattr(_libs['grass_gis.7.8'], 'G_xdr_put_float'):
    G_xdr_put_float = _libs['grass_gis.7.8'].G_xdr_put_float
    G_xdr_put_float.argtypes = [POINTER(None), POINTER(c_float)]
    G_xdr_put_float.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 871
if hasattr(_libs['grass_gis.7.8'], 'G_xdr_get_double'):
    G_xdr_get_double = _libs['grass_gis.7.8'].G_xdr_get_double
    G_xdr_get_double.argtypes = [POINTER(c_double), POINTER(None)]
    G_xdr_get_double.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 872
if hasattr(_libs['grass_gis.7.8'], 'G_xdr_put_double'):
    G_xdr_put_double = _libs['grass_gis.7.8'].G_xdr_put_double
    G_xdr_put_double.argtypes = [POINTER(None), POINTER(c_double)]
    G_xdr_put_double.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 875
if hasattr(_libs['grass_gis.7.8'], 'G_zero'):
    G_zero = _libs['grass_gis.7.8'].G_zero
    G_zero.argtypes = [POINTER(None), c_int]
    G_zero.restype = None

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 878
if hasattr(_libs['grass_gis.7.8'], 'G_zone'):
    G_zone = _libs['grass_gis.7.8'].G_zone
    G_zone.argtypes = []
    G_zone.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/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),
]

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/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),
]

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/colors.h: 4
if hasattr(_libs['grass_gis.7.8'], 'G_num_standard_colors'):
    G_num_standard_colors = _libs['grass_gis.7.8'].G_num_standard_colors
    G_num_standard_colors.argtypes = []
    G_num_standard_colors.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/colors.h: 5
if hasattr(_libs['grass_gis.7.8'], 'G_standard_color_rgb'):
    G_standard_color_rgb = _libs['grass_gis.7.8'].G_standard_color_rgb
    G_standard_color_rgb.argtypes = [c_int]
    G_standard_color_rgb.restype = struct_color_rgb

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/colors.h: 6
if hasattr(_libs['grass_gis.7.8'], 'G_num_standard_color_names'):
    G_num_standard_color_names = _libs['grass_gis.7.8'].G_num_standard_color_names
    G_num_standard_color_names.argtypes = []
    G_num_standard_color_names.restype = c_int

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/colors.h: 7
if hasattr(_libs['grass_gis.7.8'], 'G_standard_color_name'):
    G_standard_color_name = _libs['grass_gis.7.8'].G_standard_color_name
    G_standard_color_name.argtypes = [c_int]
    G_standard_color_name.restype = POINTER(struct_color_name)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/colors.h: 8
if hasattr(_libs['grass_gis.7.8'], 'G_str_to_color'):
    G_str_to_color = _libs['grass_gis.7.8'].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

# /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stdbool.h: 23
try:
    true = 1
except:
    pass

# /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stdbool.h: 24
try:
    false = 0
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/datetime.h: 10
try:
    DATETIME_YEAR = 101
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/datetime.h: 11
try:
    DATETIME_MONTH = 102
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/datetime.h: 12
try:
    DATETIME_DAY = 103
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/datetime.h: 13
try:
    DATETIME_HOUR = 104
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/datetime.h: 14
try:
    DATETIME_MINUTE = 105
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/datetime.h: 15
try:
    DATETIME_SECOND = 106
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/version.h: 5
try:
    GRASS_HEADERS_VERSION = '2025-06-13T21:20:56+00:00'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/version.h: 6
try:
    GRASS_HEADERS_DATE = '2025-06-13T21:20:56+00:00'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 47
try:
    GIS_H_VERSION = GRASS_HEADERS_VERSION
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 51
try:
    GIS_H_DATE = GRASS_HEADERS_DATE
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 53
def G_gisinit(pgm):
    return (G__gisinit (GIS_H_VERSION, pgm))

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 54
try:
    G_no_gisinit = (G__no_gisinit (GIS_H_VERSION))
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 59
try:
    TRUE = true
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 63
try:
    FALSE = false
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 69
try:
    PRI_OFF_T = 'ld'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 73
try:
    NEWLINE = '\\n'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 77
try:
    HOST_NEWLINE = '\\n'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 90
try:
    U_UNDEFINED = (-1)
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 91
try:
    U_UNKNOWN = 0
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 92
try:
    U_ACRES = 1
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 93
try:
    U_HECTARES = 2
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 94
try:
    U_KILOMETERS = 3
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 95
try:
    U_METERS = 4
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 96
try:
    U_MILES = 5
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 97
try:
    U_FEET = 6
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 98
try:
    U_RADIANS = 7
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 99
try:
    U_DEGREES = 8
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 100
try:
    U_USFEET = 9
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 102
try:
    U_YEARS = DATETIME_YEAR
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 103
try:
    U_MONTHS = DATETIME_MONTH
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 104
try:
    U_DAYS = DATETIME_DAY
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 105
try:
    U_HOURS = DATETIME_HOUR
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 106
try:
    U_MINUTES = DATETIME_MINUTE
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 107
try:
    U_SECONDS = DATETIME_SECOND
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 110
try:
    PROJECTION_XY = 0
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 112
try:
    PROJECTION_UTM = 1
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 114
try:
    PROJECTION_SP = 2
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 116
try:
    PROJECTION_LL = 3
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 118
try:
    PROJECTION_OTHER = 99
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 120
try:
    PROJECTION_FILE = 'PROJ_INFO'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 121
try:
    UNIT_FILE = 'PROJ_UNITS'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 122
try:
    EPSG_FILE = 'PROJ_EPSG'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 123
try:
    WKT_FILE = 'PROJ_WKT'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 124
try:
    SRID_FILE = 'PROJ_SRID'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 129
try:
    CONFIG_DIR = '.grass7'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 134
try:
    M_PI = 3.141592653589793
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 137
try:
    M_PI_2 = 1.5707963267948966
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 140
try:
    M_PI_4 = 0.7853981633974483
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 143
try:
    M_R2D = 57.29577951308232
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 146
try:
    M_D2R = 0.017453292519943295
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 149
try:
    GRASS_EPSILON = 1e-15
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 152
try:
    G_VAR_GISRC = 0
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 153
try:
    G_VAR_MAPSET = 1
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 156
try:
    G_GISRC_MODE_FILE = 0
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 157
try:
    G_GISRC_MODE_MEMORY = 1
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 160
try:
    TYPE_INTEGER = 1
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 161
try:
    TYPE_DOUBLE = 2
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 162
try:
    TYPE_STRING = 3
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 163
try:
    YES = 1
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 164
try:
    NO = 0
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 167
try:
    GNAME_MAX = 256
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 168
try:
    GMAPSET_MAX = 256
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 170
try:
    GPATH_MAX = 4096
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 173
try:
    GBASENAME_SEP = '_'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 188
def deserialize_int32_le(buf):
    return (((((buf [0]) << 0) | ((buf [1]) << 8)) | ((buf [2]) << 16)) | ((buf [3]) << 24))

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 202
def deserialize_int32_be(buf):
    return (((((buf [0]) << 24) | ((buf [1]) << 16)) | ((buf [2]) << 8)) | ((buf [3]) << 0))

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 208
try:
    GRASS_DIRSEP = '/'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 213
try:
    HOST_DIRSEP = '/'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 214
try:
    G_DEV_NULL = '/dev/null'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 360
try:
    G_INFO_FORMAT_STANDARD = 0
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 361
try:
    G_INFO_FORMAT_GUI = 1
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 362
try:
    G_INFO_FORMAT_SILENT = 2
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 363
try:
    G_INFO_FORMAT_PLAIN = 3
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 366
try:
    G_ICON_CROSS = 0
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 367
try:
    G_ICON_BOX = 1
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 368
try:
    G_ICON_ARROW = 2
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 371
try:
    DEFAULT_FG_COLOR = 'black'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 372
try:
    DEFAULT_BG_COLOR = 'white'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 373
try:
    DEFAULT_COLOR_TABLE = 'viridis'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 376
try:
    G_FATAL_EXIT = 0
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 377
try:
    G_FATAL_PRINT = 1
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 378
try:
    G_FATAL_RETURN = 2
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 381
try:
    ENDIAN_LITTLE = 0
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 382
try:
    ENDIAN_BIG = 1
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 383
try:
    ENDIAN_OTHER = 2
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 389
try:
    GV_KEY_COLUMN = 'cat'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 57
def G_alloca(n):
    return (G_malloc (n))

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 58
def G_freea(p):
    return (G_free (p))

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 72
try:
    RELDIR = '?'
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 100
def G_incr_void_ptr(ptr, size):
    return (ptr + size)

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 116
def G_malloc(n):
    return (G__malloc ('<ctypesgen>', 0, n))

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 117
def G_calloc(m, n):
    return (G__calloc ('<ctypesgen>', 0, m, n))

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/defs/gis.h: 118
def G_realloc(p, n):
    return (G__realloc ('<ctypesgen>', 0, p, n))

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 9
try:
    BLACK = 1
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 10
try:
    RED = 2
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 11
try:
    GREEN = 3
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 12
try:
    BLUE = 4
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 13
try:
    YELLOW = 5
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 14
try:
    CYAN = 6
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 15
try:
    MAGENTA = 7
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 16
try:
    WHITE = 8
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 17
try:
    GRAY = 9
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 18
try:
    ORANGE = 10
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 19
try:
    AQUA = 11
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 20
try:
    INDIGO = 12
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 21
try:
    VIOLET = 13
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 22
try:
    BROWN = 14
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 24
try:
    GREY = GRAY
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 25
try:
    PURPLE = VIOLET
except:
    pass

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/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

# /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 31
try:
    MAX_COLOR_LEN = 32
except:
    pass

Cell_head = struct_Cell_head # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 413

G_3dview = struct_G_3dview # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 475

Key_Value = struct_Key_Value # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 502

Option = struct_Option # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 532

Flag = struct_Flag # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 561

GModule = struct_GModule # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 578

TimeStamp = struct_TimeStamp # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 588

Counter = struct_Counter # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 594

Popen = struct_Popen # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 598

_Color_Value_ = struct__Color_Value_ # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 624

_Color_Rule_ = struct__Color_Rule_ # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 632

_Color_Info_ = struct__Color_Info_ # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 639

Colors = struct_Colors # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 666

ilist = struct_ilist # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/gis.h: 690

color_rgb = struct_color_rgb # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 33

color_name = struct_color_name # /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_grass7/grass7/work/grass-7.8.8/dist.x86_64-apple-darwin22.6.0/include/grass/colors.h: 38

# No inserted files

