'''Wrapper for raster.h

Generated with:
./ctypesgen.py --cpp gcc -E -I/c/OSGeo4W32/include -D_FILE_OFFSET_BITS=64      -I/usr/src/grass79/dist.i386-w64-mingw32/include -I/usr/src/grass79/dist.i386-w64-mingw32/include -D__GLIBC_HAVE_LONG_LONG -lgrass_raster.7.9 C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/raster.h C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h -o OBJ.i386-w64-mingw32/raster.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_raster.7.9"] = load_library("grass_raster.7.9")

# 1 libraries
# End libraries

# No modules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

RASTER_MAP_TYPE = c_int # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 25

INTERP_TYPE = c_int # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 28

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 31
class struct_Reclass(Structure):
    pass

struct_Reclass.__slots__ = [
    'name',
    'mapset',
    'type',
    'num',
    'min',
    'max',
    'table',
]
struct_Reclass._fields_ = [
    ('name', String),
    ('mapset', String),
    ('type', c_int),
    ('num', c_int),
    ('min', CELL),
    ('max', CELL),
    ('table', POINTER(CELL)),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 42
class struct_FPReclass_table(Structure):
    pass

struct_FPReclass_table.__slots__ = [
    'dLow',
    'dHigh',
    'rLow',
    'rHigh',
]
struct_FPReclass_table._fields_ = [
    ('dLow', DCELL),
    ('dHigh', DCELL),
    ('rLow', DCELL),
    ('rHigh', DCELL),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 52
class struct_FPReclass(Structure):
    pass

struct_FPReclass.__slots__ = [
    'defaultDRuleSet',
    'defaultRRuleSet',
    'infiniteLeftSet',
    'infiniteRightSet',
    'rRangeSet',
    'maxNofRules',
    'nofRules',
    'defaultDMin',
    'defaultDMax',
    'defaultRMin',
    'defaultRMax',
    'infiniteDLeft',
    'infiniteDRight',
    'infiniteRLeft',
    'infiniteRRight',
    'dMin',
    'dMax',
    'rMin',
    'rMax',
    'table',
]
struct_FPReclass._fields_ = [
    ('defaultDRuleSet', c_int),
    ('defaultRRuleSet', c_int),
    ('infiniteLeftSet', c_int),
    ('infiniteRightSet', c_int),
    ('rRangeSet', c_int),
    ('maxNofRules', c_int),
    ('nofRules', c_int),
    ('defaultDMin', DCELL),
    ('defaultDMax', DCELL),
    ('defaultRMin', DCELL),
    ('defaultRMax', DCELL),
    ('infiniteDLeft', DCELL),
    ('infiniteDRight', DCELL),
    ('infiniteRLeft', DCELL),
    ('infiniteRRight', DCELL),
    ('dMin', DCELL),
    ('dMax', DCELL),
    ('rMin', DCELL),
    ('rMax', DCELL),
    ('table', POINTER(struct_FPReclass_table)),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 76
class struct_Quant_table(Structure):
    pass

struct_Quant_table.__slots__ = [
    'dLow',
    'dHigh',
    'cLow',
    'cHigh',
]
struct_Quant_table._fields_ = [
    ('dLow', DCELL),
    ('dHigh', DCELL),
    ('cLow', CELL),
    ('cHigh', CELL),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 109
class struct_anon_7(Structure):
    pass

struct_anon_7.__slots__ = [
    'vals',
    'rules',
    'nalloc',
    'active',
    'inf_dmin',
    'inf_dmax',
    'inf_min',
    'inf_max',
]
struct_anon_7._fields_ = [
    ('vals', POINTER(DCELL)),
    ('rules', POINTER(POINTER(struct_Quant_table))),
    ('nalloc', c_int),
    ('active', c_int),
    ('inf_dmin', DCELL),
    ('inf_dmax', DCELL),
    ('inf_min', CELL),
    ('inf_max', CELL),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 84
class struct_Quant(Structure):
    pass

struct_Quant.__slots__ = [
    'truncate_only',
    'round_only',
    'defaultDRuleSet',
    'defaultCRuleSet',
    'infiniteLeftSet',
    'infiniteRightSet',
    'cRangeSet',
    'maxNofRules',
    'nofRules',
    'defaultDMin',
    'defaultDMax',
    'defaultCMin',
    'defaultCMax',
    'infiniteDLeft',
    'infiniteDRight',
    'infiniteCLeft',
    'infiniteCRight',
    'dMin',
    'dMax',
    'cMin',
    'cMax',
    'table',
    'fp_lookup',
]
struct_Quant._fields_ = [
    ('truncate_only', c_int),
    ('round_only', c_int),
    ('defaultDRuleSet', c_int),
    ('defaultCRuleSet', c_int),
    ('infiniteLeftSet', c_int),
    ('infiniteRightSet', c_int),
    ('cRangeSet', c_int),
    ('maxNofRules', c_int),
    ('nofRules', c_int),
    ('defaultDMin', DCELL),
    ('defaultDMax', DCELL),
    ('defaultCMin', CELL),
    ('defaultCMax', CELL),
    ('infiniteDLeft', DCELL),
    ('infiniteDRight', DCELL),
    ('infiniteCLeft', CELL),
    ('infiniteCRight', CELL),
    ('dMin', DCELL),
    ('dMax', DCELL),
    ('cMin', CELL),
    ('cMax', CELL),
    ('table', POINTER(struct_Quant_table)),
    ('fp_lookup', struct_anon_7),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 127
class struct_Categories(Structure):
    pass

struct_Categories.__slots__ = [
    'ncats',
    'num',
    'title',
    'fmt',
    'm1',
    'a1',
    'm2',
    'a2',
    'q',
    'labels',
    'marks',
    'nalloc',
    'last_marked_rule',
]
struct_Categories._fields_ = [
    ('ncats', CELL),
    ('num', CELL),
    ('title', String),
    ('fmt', String),
    ('m1', c_float),
    ('a1', c_float),
    ('m2', c_float),
    ('a2', c_float),
    ('q', struct_Quant),
    ('labels', POINTER(POINTER(c_char))),
    ('marks', POINTER(c_int)),
    ('nalloc', c_int),
    ('last_marked_rule', c_int),
]

enum_History_field = c_int # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 157

HIST_MAPID = 0 # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 157

HIST_TITLE = (HIST_MAPID + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 157

HIST_MAPSET = (HIST_TITLE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 157

HIST_CREATOR = (HIST_MAPSET + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 157

HIST_MAPTYPE = (HIST_CREATOR + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 157

HIST_DATSRC_1 = (HIST_MAPTYPE + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 157

HIST_DATSRC_2 = (HIST_DATSRC_1 + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 157

HIST_KEYWRD = (HIST_DATSRC_2 + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 157

HIST_NUM_FIELDS = (HIST_KEYWRD + 1) # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 157

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 180
class struct_History(Structure):
    pass

struct_History.__slots__ = [
    'fields',
    'nlines',
    'lines',
]
struct_History._fields_ = [
    ('fields', POINTER(c_char) * HIST_NUM_FIELDS),
    ('nlines', c_int),
    ('lines', POINTER(POINTER(c_char))),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 192
class struct_Cell_stats_node(Structure):
    pass

struct_Cell_stats_node.__slots__ = [
    'idx',
    'count',
    'left',
    'right',
]
struct_Cell_stats_node._fields_ = [
    ('idx', c_int),
    ('count', POINTER(c_long)),
    ('left', c_int),
    ('right', c_int),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 190
class struct_Cell_stats(Structure):
    pass

struct_Cell_stats.__slots__ = [
    'node',
    'tlen',
    'N',
    'curp',
    'null_data_count',
    'curoffset',
]
struct_Cell_stats._fields_ = [
    ('node', POINTER(struct_Cell_stats_node)),
    ('tlen', c_int),
    ('N', c_int),
    ('curp', c_int),
    ('null_data_count', c_long),
    ('curoffset', c_int),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 211
class struct_Histogram_list(Structure):
    pass

struct_Histogram_list.__slots__ = [
    'cat',
    'count',
]
struct_Histogram_list._fields_ = [
    ('cat', CELL),
    ('count', c_long),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 207
class struct_Histogram(Structure):
    pass

struct_Histogram.__slots__ = [
    'num',
    'list',
]
struct_Histogram._fields_ = [
    ('num', c_int),
    ('list', POINTER(struct_Histogram_list)),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 218
class struct_R_stats(Structure):
    pass

struct_R_stats.__slots__ = [
    'sum',
    'sumsq',
    'count',
]
struct_R_stats._fields_ = [
    ('sum', DCELL),
    ('sumsq', DCELL),
    ('count', grass_int64),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 225
class struct_Range(Structure):
    pass

struct_Range.__slots__ = [
    'min',
    'max',
    'first_time',
    'rstats',
]
struct_Range._fields_ = [
    ('min', CELL),
    ('max', CELL),
    ('first_time', c_int),
    ('rstats', struct_R_stats),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 233
class struct_FPRange(Structure):
    pass

struct_FPRange.__slots__ = [
    'min',
    'max',
    'first_time',
    'rstats',
]
struct_FPRange._fields_ = [
    ('min', DCELL),
    ('max', DCELL),
    ('first_time', c_int),
    ('rstats', struct_R_stats),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 241
class struct_FP_stats(Structure):
    pass

struct_FP_stats.__slots__ = [
    'geometric',
    'geom_abs',
    'flip',
    'count',
    'min',
    'max',
    'stats',
    'total',
]
struct_FP_stats._fields_ = [
    ('geometric', c_int),
    ('geom_abs', c_int),
    ('flip', c_int),
    ('count', c_int),
    ('min', DCELL),
    ('max', DCELL),
    ('stats', POINTER(c_ulong)),
    ('total', c_ulong),
]

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 251
class struct_GDAL_link(Structure):
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 252
class struct_R_vrt(Structure):
    pass

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 12
if hasattr(_libs['grass_raster.7.9'], 'Rast_cell_size'):
    Rast_cell_size = _libs['grass_raster.7.9'].Rast_cell_size
    Rast_cell_size.argtypes = [RASTER_MAP_TYPE]
    Rast_cell_size.restype = c_size_t

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 13
if hasattr(_libs['grass_raster.7.9'], 'Rast_allocate_buf'):
    Rast_allocate_buf = _libs['grass_raster.7.9'].Rast_allocate_buf
    Rast_allocate_buf.argtypes = [RASTER_MAP_TYPE]
    Rast_allocate_buf.restype = POINTER(c_ubyte)
    Rast_allocate_buf.errcheck = lambda v,*a : cast(v, c_void_p)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 14
if hasattr(_libs['grass_raster.7.9'], 'Rast_allocate_c_buf'):
    Rast_allocate_c_buf = _libs['grass_raster.7.9'].Rast_allocate_c_buf
    Rast_allocate_c_buf.argtypes = []
    Rast_allocate_c_buf.restype = POINTER(CELL)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 15
if hasattr(_libs['grass_raster.7.9'], 'Rast_allocate_f_buf'):
    Rast_allocate_f_buf = _libs['grass_raster.7.9'].Rast_allocate_f_buf
    Rast_allocate_f_buf.argtypes = []
    Rast_allocate_f_buf.restype = POINTER(FCELL)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 16
if hasattr(_libs['grass_raster.7.9'], 'Rast_allocate_d_buf'):
    Rast_allocate_d_buf = _libs['grass_raster.7.9'].Rast_allocate_d_buf
    Rast_allocate_d_buf.argtypes = []
    Rast_allocate_d_buf.restype = POINTER(DCELL)

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

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

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 21
if hasattr(_libs['grass_raster.7.9'], 'Rast_allocate_input_buf'):
    Rast_allocate_input_buf = _libs['grass_raster.7.9'].Rast_allocate_input_buf
    Rast_allocate_input_buf.argtypes = [RASTER_MAP_TYPE]
    Rast_allocate_input_buf.restype = POINTER(c_ubyte)
    Rast_allocate_input_buf.errcheck = lambda v,*a : cast(v, c_void_p)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 22
if hasattr(_libs['grass_raster.7.9'], 'Rast_allocate_c_input_buf'):
    Rast_allocate_c_input_buf = _libs['grass_raster.7.9'].Rast_allocate_c_input_buf
    Rast_allocate_c_input_buf.argtypes = []
    Rast_allocate_c_input_buf.restype = POINTER(CELL)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 23
if hasattr(_libs['grass_raster.7.9'], 'Rast_allocate_f_input_buf'):
    Rast_allocate_f_input_buf = _libs['grass_raster.7.9'].Rast_allocate_f_input_buf
    Rast_allocate_f_input_buf.argtypes = []
    Rast_allocate_f_input_buf.restype = POINTER(FCELL)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 24
if hasattr(_libs['grass_raster.7.9'], 'Rast_allocate_d_input_buf'):
    Rast_allocate_d_input_buf = _libs['grass_raster.7.9'].Rast_allocate_d_input_buf
    Rast_allocate_d_input_buf.argtypes = []
    Rast_allocate_d_input_buf.restype = POINTER(DCELL)

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 27
if hasattr(_libs['grass_raster.7.9'], 'Rast_allocate_output_buf'):
    Rast_allocate_output_buf = _libs['grass_raster.7.9'].Rast_allocate_output_buf
    Rast_allocate_output_buf.argtypes = [RASTER_MAP_TYPE]
    Rast_allocate_output_buf.restype = POINTER(c_ubyte)
    Rast_allocate_output_buf.errcheck = lambda v,*a : cast(v, c_void_p)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 28
if hasattr(_libs['grass_raster.7.9'], 'Rast_allocate_c_output_buf'):
    Rast_allocate_c_output_buf = _libs['grass_raster.7.9'].Rast_allocate_c_output_buf
    Rast_allocate_c_output_buf.argtypes = []
    Rast_allocate_c_output_buf.restype = POINTER(CELL)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 29
if hasattr(_libs['grass_raster.7.9'], 'Rast_allocate_f_output_buf'):
    Rast_allocate_f_output_buf = _libs['grass_raster.7.9'].Rast_allocate_f_output_buf
    Rast_allocate_f_output_buf.argtypes = []
    Rast_allocate_f_output_buf.restype = POINTER(FCELL)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 30
if hasattr(_libs['grass_raster.7.9'], 'Rast_allocate_d_output_buf'):
    Rast_allocate_d_output_buf = _libs['grass_raster.7.9'].Rast_allocate_d_output_buf
    Rast_allocate_d_output_buf.argtypes = []
    Rast_allocate_d_output_buf.restype = POINTER(DCELL)

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

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

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

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

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

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

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

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 45
if hasattr(_libs['grass_raster.7.9'], 'Rast_read_cats'):
    Rast_read_cats = _libs['grass_raster.7.9'].Rast_read_cats
    Rast_read_cats.argtypes = [String, String, POINTER(struct_Categories)]
    Rast_read_cats.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 46
if hasattr(_libs['grass_raster.7.9'], 'Rast_read_vector_cats'):
    Rast_read_vector_cats = _libs['grass_raster.7.9'].Rast_read_vector_cats
    Rast_read_vector_cats.argtypes = [String, String, POINTER(struct_Categories)]
    Rast_read_vector_cats.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 47
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_max_c_cat'):
    Rast_get_max_c_cat = _libs['grass_raster.7.9'].Rast_get_max_c_cat
    Rast_get_max_c_cat.argtypes = [String, String]
    Rast_get_max_c_cat.restype = CELL

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 48
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_cats_title'):
    Rast_get_cats_title = _libs['grass_raster.7.9'].Rast_get_cats_title
    Rast_get_cats_title.argtypes = [POINTER(struct_Categories)]
    if sizeof(c_int) == sizeof(c_void_p):
        Rast_get_cats_title.restype = ReturnString
    else:
        Rast_get_cats_title.restype = String
        Rast_get_cats_title.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 49
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_c_cat'):
    Rast_get_c_cat = _libs['grass_raster.7.9'].Rast_get_c_cat
    Rast_get_c_cat.argtypes = [POINTER(CELL), POINTER(struct_Categories)]
    if sizeof(c_int) == sizeof(c_void_p):
        Rast_get_c_cat.restype = ReturnString
    else:
        Rast_get_c_cat.restype = String
        Rast_get_c_cat.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 50
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_f_cat'):
    Rast_get_f_cat = _libs['grass_raster.7.9'].Rast_get_f_cat
    Rast_get_f_cat.argtypes = [POINTER(FCELL), POINTER(struct_Categories)]
    if sizeof(c_int) == sizeof(c_void_p):
        Rast_get_f_cat.restype = ReturnString
    else:
        Rast_get_f_cat.restype = String
        Rast_get_f_cat.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 51
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_d_cat'):
    Rast_get_d_cat = _libs['grass_raster.7.9'].Rast_get_d_cat
    Rast_get_d_cat.argtypes = [POINTER(DCELL), POINTER(struct_Categories)]
    if sizeof(c_int) == sizeof(c_void_p):
        Rast_get_d_cat.restype = ReturnString
    else:
        Rast_get_d_cat.restype = String
        Rast_get_d_cat.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 52
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_cat'):
    Rast_get_cat = _libs['grass_raster.7.9'].Rast_get_cat
    Rast_get_cat.argtypes = [POINTER(None), POINTER(struct_Categories), RASTER_MAP_TYPE]
    if sizeof(c_int) == sizeof(c_void_p):
        Rast_get_cat.restype = ReturnString
    else:
        Rast_get_cat.restype = String
        Rast_get_cat.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 53
if hasattr(_libs['grass_raster.7.9'], 'Rast_unmark_cats'):
    Rast_unmark_cats = _libs['grass_raster.7.9'].Rast_unmark_cats
    Rast_unmark_cats.argtypes = [POINTER(struct_Categories)]
    Rast_unmark_cats.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 54
if hasattr(_libs['grass_raster.7.9'], 'Rast_mark_c_cats'):
    Rast_mark_c_cats = _libs['grass_raster.7.9'].Rast_mark_c_cats
    Rast_mark_c_cats.argtypes = [POINTER(CELL), c_int, POINTER(struct_Categories)]
    Rast_mark_c_cats.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 55
if hasattr(_libs['grass_raster.7.9'], 'Rast_mark_f_cats'):
    Rast_mark_f_cats = _libs['grass_raster.7.9'].Rast_mark_f_cats
    Rast_mark_f_cats.argtypes = [POINTER(FCELL), c_int, POINTER(struct_Categories)]
    Rast_mark_f_cats.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 56
if hasattr(_libs['grass_raster.7.9'], 'Rast_mark_d_cats'):
    Rast_mark_d_cats = _libs['grass_raster.7.9'].Rast_mark_d_cats
    Rast_mark_d_cats.argtypes = [POINTER(DCELL), c_int, POINTER(struct_Categories)]
    Rast_mark_d_cats.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 57
if hasattr(_libs['grass_raster.7.9'], 'Rast_mark_cats'):
    Rast_mark_cats = _libs['grass_raster.7.9'].Rast_mark_cats
    Rast_mark_cats.argtypes = [POINTER(None), c_int, POINTER(struct_Categories), RASTER_MAP_TYPE]
    Rast_mark_cats.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 58
if hasattr(_libs['grass_raster.7.9'], 'Rast_rewind_cats'):
    Rast_rewind_cats = _libs['grass_raster.7.9'].Rast_rewind_cats
    Rast_rewind_cats.argtypes = [POINTER(struct_Categories)]
    Rast_rewind_cats.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 59
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_next_marked_d_cat'):
    Rast_get_next_marked_d_cat = _libs['grass_raster.7.9'].Rast_get_next_marked_d_cat
    Rast_get_next_marked_d_cat.argtypes = [POINTER(struct_Categories), POINTER(DCELL), POINTER(DCELL), POINTER(c_long)]
    if sizeof(c_int) == sizeof(c_void_p):
        Rast_get_next_marked_d_cat.restype = ReturnString
    else:
        Rast_get_next_marked_d_cat.restype = String
        Rast_get_next_marked_d_cat.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 61
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_next_marked_c_cat'):
    Rast_get_next_marked_c_cat = _libs['grass_raster.7.9'].Rast_get_next_marked_c_cat
    Rast_get_next_marked_c_cat.argtypes = [POINTER(struct_Categories), POINTER(CELL), POINTER(CELL), POINTER(c_long)]
    if sizeof(c_int) == sizeof(c_void_p):
        Rast_get_next_marked_c_cat.restype = ReturnString
    else:
        Rast_get_next_marked_c_cat.restype = String
        Rast_get_next_marked_c_cat.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 63
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_next_marked_f_cat'):
    Rast_get_next_marked_f_cat = _libs['grass_raster.7.9'].Rast_get_next_marked_f_cat
    Rast_get_next_marked_f_cat.argtypes = [POINTER(struct_Categories), POINTER(FCELL), POINTER(FCELL), POINTER(c_long)]
    if sizeof(c_int) == sizeof(c_void_p):
        Rast_get_next_marked_f_cat.restype = ReturnString
    else:
        Rast_get_next_marked_f_cat.restype = String
        Rast_get_next_marked_f_cat.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 65
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_next_marked_cat'):
    Rast_get_next_marked_cat = _libs['grass_raster.7.9'].Rast_get_next_marked_cat
    Rast_get_next_marked_cat.argtypes = [POINTER(struct_Categories), POINTER(None), POINTER(None), POINTER(c_long), RASTER_MAP_TYPE]
    if sizeof(c_int) == sizeof(c_void_p):
        Rast_get_next_marked_cat.restype = ReturnString
    else:
        Rast_get_next_marked_cat.restype = String
        Rast_get_next_marked_cat.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 67
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_c_cat'):
    Rast_set_c_cat = _libs['grass_raster.7.9'].Rast_set_c_cat
    Rast_set_c_cat.argtypes = [POINTER(CELL), POINTER(CELL), String, POINTER(struct_Categories)]
    Rast_set_c_cat.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 68
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_f_cat'):
    Rast_set_f_cat = _libs['grass_raster.7.9'].Rast_set_f_cat
    Rast_set_f_cat.argtypes = [POINTER(FCELL), POINTER(FCELL), String, POINTER(struct_Categories)]
    Rast_set_f_cat.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 69
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_d_cat'):
    Rast_set_d_cat = _libs['grass_raster.7.9'].Rast_set_d_cat
    Rast_set_d_cat.argtypes = [POINTER(DCELL), POINTER(DCELL), String, POINTER(struct_Categories)]
    Rast_set_d_cat.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 70
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_cat'):
    Rast_set_cat = _libs['grass_raster.7.9'].Rast_set_cat
    Rast_set_cat.argtypes = [POINTER(None), POINTER(None), String, POINTER(struct_Categories), RASTER_MAP_TYPE]
    Rast_set_cat.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 72
if hasattr(_libs['grass_raster.7.9'], 'Rast_write_cats'):
    Rast_write_cats = _libs['grass_raster.7.9'].Rast_write_cats
    Rast_write_cats.argtypes = [String, POINTER(struct_Categories)]
    Rast_write_cats.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 73
if hasattr(_libs['grass_raster.7.9'], 'Rast_write_vector_cats'):
    Rast_write_vector_cats = _libs['grass_raster.7.9'].Rast_write_vector_cats
    Rast_write_vector_cats.argtypes = [String, POINTER(struct_Categories)]
    Rast_write_vector_cats.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 74
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_ith_d_cat'):
    Rast_get_ith_d_cat = _libs['grass_raster.7.9'].Rast_get_ith_d_cat
    Rast_get_ith_d_cat.argtypes = [POINTER(struct_Categories), c_int, POINTER(DCELL), POINTER(DCELL)]
    if sizeof(c_int) == sizeof(c_void_p):
        Rast_get_ith_d_cat.restype = ReturnString
    else:
        Rast_get_ith_d_cat.restype = String
        Rast_get_ith_d_cat.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 76
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_ith_f_cat'):
    Rast_get_ith_f_cat = _libs['grass_raster.7.9'].Rast_get_ith_f_cat
    Rast_get_ith_f_cat.argtypes = [POINTER(struct_Categories), c_int, POINTER(None), POINTER(None)]
    if sizeof(c_int) == sizeof(c_void_p):
        Rast_get_ith_f_cat.restype = ReturnString
    else:
        Rast_get_ith_f_cat.restype = String
        Rast_get_ith_f_cat.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 77
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_ith_c_cat'):
    Rast_get_ith_c_cat = _libs['grass_raster.7.9'].Rast_get_ith_c_cat
    Rast_get_ith_c_cat.argtypes = [POINTER(struct_Categories), c_int, POINTER(None), POINTER(None)]
    if sizeof(c_int) == sizeof(c_void_p):
        Rast_get_ith_c_cat.restype = ReturnString
    else:
        Rast_get_ith_c_cat.restype = String
        Rast_get_ith_c_cat.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 78
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_ith_cat'):
    Rast_get_ith_cat = _libs['grass_raster.7.9'].Rast_get_ith_cat
    Rast_get_ith_cat.argtypes = [POINTER(struct_Categories), c_int, POINTER(None), POINTER(None), RASTER_MAP_TYPE]
    if sizeof(c_int) == sizeof(c_void_p):
        Rast_get_ith_cat.restype = ReturnString
    else:
        Rast_get_ith_cat.restype = String
        Rast_get_ith_cat.errcheck = ReturnString

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 80
if hasattr(_libs['grass_raster.7.9'], 'Rast_init_cats'):
    Rast_init_cats = _libs['grass_raster.7.9'].Rast_init_cats
    Rast_init_cats.argtypes = [String, POINTER(struct_Categories)]
    Rast_init_cats.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 81
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_cats_title'):
    Rast_set_cats_title = _libs['grass_raster.7.9'].Rast_set_cats_title
    Rast_set_cats_title.argtypes = [String, POINTER(struct_Categories)]
    Rast_set_cats_title.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 82
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_cats_fmt'):
    Rast_set_cats_fmt = _libs['grass_raster.7.9'].Rast_set_cats_fmt
    Rast_set_cats_fmt.argtypes = [String, c_double, c_double, c_double, c_double, POINTER(struct_Categories)]
    Rast_set_cats_fmt.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 84
if hasattr(_libs['grass_raster.7.9'], 'Rast_free_cats'):
    Rast_free_cats = _libs['grass_raster.7.9'].Rast_free_cats
    Rast_free_cats.argtypes = [POINTER(struct_Categories)]
    Rast_free_cats.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 85
if hasattr(_libs['grass_raster.7.9'], 'Rast_copy_cats'):
    Rast_copy_cats = _libs['grass_raster.7.9'].Rast_copy_cats
    Rast_copy_cats.argtypes = [POINTER(struct_Categories), POINTER(struct_Categories)]
    Rast_copy_cats.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 86
if hasattr(_libs['grass_raster.7.9'], 'Rast_number_of_cats'):
    Rast_number_of_cats = _libs['grass_raster.7.9'].Rast_number_of_cats
    Rast_number_of_cats.argtypes = [POINTER(struct_Categories)]
    Rast_number_of_cats.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 87
if hasattr(_libs['grass_raster.7.9'], 'Rast_sort_cats'):
    Rast_sort_cats = _libs['grass_raster.7.9'].Rast_sort_cats
    Rast_sort_cats.argtypes = [POINTER(struct_Categories)]
    Rast_sort_cats.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 90
if hasattr(_libs['grass_raster.7.9'], 'Rast_init_cell_stats'):
    Rast_init_cell_stats = _libs['grass_raster.7.9'].Rast_init_cell_stats
    Rast_init_cell_stats.argtypes = [POINTER(struct_Cell_stats)]
    Rast_init_cell_stats.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 91
if hasattr(_libs['grass_raster.7.9'], 'Rast_update_cell_stats'):
    Rast_update_cell_stats = _libs['grass_raster.7.9'].Rast_update_cell_stats
    Rast_update_cell_stats.argtypes = [POINTER(CELL), c_int, POINTER(struct_Cell_stats)]
    Rast_update_cell_stats.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 92
if hasattr(_libs['grass_raster.7.9'], 'Rast_find_cell_stat'):
    Rast_find_cell_stat = _libs['grass_raster.7.9'].Rast_find_cell_stat
    Rast_find_cell_stat.argtypes = [CELL, POINTER(c_long), POINTER(struct_Cell_stats)]
    Rast_find_cell_stat.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 93
if hasattr(_libs['grass_raster.7.9'], 'Rast_rewind_cell_stats'):
    Rast_rewind_cell_stats = _libs['grass_raster.7.9'].Rast_rewind_cell_stats
    Rast_rewind_cell_stats.argtypes = [POINTER(struct_Cell_stats)]
    Rast_rewind_cell_stats.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 94
if hasattr(_libs['grass_raster.7.9'], 'Rast_next_cell_stat'):
    Rast_next_cell_stat = _libs['grass_raster.7.9'].Rast_next_cell_stat
    Rast_next_cell_stat.argtypes = [POINTER(CELL), POINTER(c_long), POINTER(struct_Cell_stats)]
    Rast_next_cell_stat.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 95
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_stats_for_null_value'):
    Rast_get_stats_for_null_value = _libs['grass_raster.7.9'].Rast_get_stats_for_null_value
    Rast_get_stats_for_null_value.argtypes = [POINTER(c_long), POINTER(struct_Cell_stats)]
    Rast_get_stats_for_null_value.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 96
if hasattr(_libs['grass_raster.7.9'], 'Rast_free_cell_stats'):
    Rast_free_cell_stats = _libs['grass_raster.7.9'].Rast_free_cell_stats
    Rast_free_cell_stats.argtypes = [POINTER(struct_Cell_stats)]
    Rast_free_cell_stats.restype = None

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 102
if hasattr(_libs['grass_raster.7.9'], 'Rast_cell_stats_histo_eq'):
    Rast_cell_stats_histo_eq = _libs['grass_raster.7.9'].Rast_cell_stats_histo_eq
    Rast_cell_stats_histo_eq.argtypes = [POINTER(struct_Cell_stats), CELL, CELL, CELL, CELL, c_int, CFUNCTYPE(UNCHECKED(None), CELL, CELL, CELL)]
    Rast_cell_stats_histo_eq.restype = c_int

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

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

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

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 112
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_ryg_colors'):
    Rast_make_ryg_colors = _libs['grass_raster.7.9'].Rast_make_ryg_colors
    Rast_make_ryg_colors.argtypes = [POINTER(struct_Colors), CELL, CELL]
    Rast_make_ryg_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 113
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_ryg_fp_colors'):
    Rast_make_ryg_fp_colors = _libs['grass_raster.7.9'].Rast_make_ryg_fp_colors
    Rast_make_ryg_fp_colors.argtypes = [POINTER(struct_Colors), DCELL, DCELL]
    Rast_make_ryg_fp_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 114
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_aspect_colors'):
    Rast_make_aspect_colors = _libs['grass_raster.7.9'].Rast_make_aspect_colors
    Rast_make_aspect_colors.argtypes = [POINTER(struct_Colors), CELL, CELL]
    Rast_make_aspect_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 115
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_aspect_fp_colors'):
    Rast_make_aspect_fp_colors = _libs['grass_raster.7.9'].Rast_make_aspect_fp_colors
    Rast_make_aspect_fp_colors.argtypes = [POINTER(struct_Colors), DCELL, DCELL]
    Rast_make_aspect_fp_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 116
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_byr_colors'):
    Rast_make_byr_colors = _libs['grass_raster.7.9'].Rast_make_byr_colors
    Rast_make_byr_colors.argtypes = [POINTER(struct_Colors), CELL, CELL]
    Rast_make_byr_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 117
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_byr_fp_colors'):
    Rast_make_byr_fp_colors = _libs['grass_raster.7.9'].Rast_make_byr_fp_colors
    Rast_make_byr_fp_colors.argtypes = [POINTER(struct_Colors), DCELL, DCELL]
    Rast_make_byr_fp_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 118
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_bgyr_colors'):
    Rast_make_bgyr_colors = _libs['grass_raster.7.9'].Rast_make_bgyr_colors
    Rast_make_bgyr_colors.argtypes = [POINTER(struct_Colors), CELL, CELL]
    Rast_make_bgyr_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 119
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_bgyr_fp_colors'):
    Rast_make_bgyr_fp_colors = _libs['grass_raster.7.9'].Rast_make_bgyr_fp_colors
    Rast_make_bgyr_fp_colors.argtypes = [POINTER(struct_Colors), DCELL, DCELL]
    Rast_make_bgyr_fp_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 120
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_byg_colors'):
    Rast_make_byg_colors = _libs['grass_raster.7.9'].Rast_make_byg_colors
    Rast_make_byg_colors.argtypes = [POINTER(struct_Colors), CELL, CELL]
    Rast_make_byg_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 121
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_byg_fp_colors'):
    Rast_make_byg_fp_colors = _libs['grass_raster.7.9'].Rast_make_byg_fp_colors
    Rast_make_byg_fp_colors.argtypes = [POINTER(struct_Colors), DCELL, DCELL]
    Rast_make_byg_fp_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 122
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_grey_scale_colors'):
    Rast_make_grey_scale_colors = _libs['grass_raster.7.9'].Rast_make_grey_scale_colors
    Rast_make_grey_scale_colors.argtypes = [POINTER(struct_Colors), CELL, CELL]
    Rast_make_grey_scale_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 123
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_grey_scale_fp_colors'):
    Rast_make_grey_scale_fp_colors = _libs['grass_raster.7.9'].Rast_make_grey_scale_fp_colors
    Rast_make_grey_scale_fp_colors.argtypes = [POINTER(struct_Colors), DCELL, DCELL]
    Rast_make_grey_scale_fp_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 124
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_gyr_colors'):
    Rast_make_gyr_colors = _libs['grass_raster.7.9'].Rast_make_gyr_colors
    Rast_make_gyr_colors.argtypes = [POINTER(struct_Colors), CELL, CELL]
    Rast_make_gyr_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 125
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_gyr_fp_colors'):
    Rast_make_gyr_fp_colors = _libs['grass_raster.7.9'].Rast_make_gyr_fp_colors
    Rast_make_gyr_fp_colors.argtypes = [POINTER(struct_Colors), DCELL, DCELL]
    Rast_make_gyr_fp_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 126
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_rainbow_colors'):
    Rast_make_rainbow_colors = _libs['grass_raster.7.9'].Rast_make_rainbow_colors
    Rast_make_rainbow_colors.argtypes = [POINTER(struct_Colors), CELL, CELL]
    Rast_make_rainbow_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 127
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_rainbow_fp_colors'):
    Rast_make_rainbow_fp_colors = _libs['grass_raster.7.9'].Rast_make_rainbow_fp_colors
    Rast_make_rainbow_fp_colors.argtypes = [POINTER(struct_Colors), DCELL, DCELL]
    Rast_make_rainbow_fp_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 128
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_ramp_colors'):
    Rast_make_ramp_colors = _libs['grass_raster.7.9'].Rast_make_ramp_colors
    Rast_make_ramp_colors.argtypes = [POINTER(struct_Colors), CELL, CELL]
    Rast_make_ramp_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 129
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_ramp_fp_colors'):
    Rast_make_ramp_fp_colors = _libs['grass_raster.7.9'].Rast_make_ramp_fp_colors
    Rast_make_ramp_fp_colors.argtypes = [POINTER(struct_Colors), DCELL, DCELL]
    Rast_make_ramp_fp_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 130
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_wave_colors'):
    Rast_make_wave_colors = _libs['grass_raster.7.9'].Rast_make_wave_colors
    Rast_make_wave_colors.argtypes = [POINTER(struct_Colors), CELL, CELL]
    Rast_make_wave_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 131
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_wave_fp_colors'):
    Rast_make_wave_fp_colors = _libs['grass_raster.7.9'].Rast_make_wave_fp_colors
    Rast_make_wave_fp_colors.argtypes = [POINTER(struct_Colors), DCELL, DCELL]
    Rast_make_wave_fp_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 134
if hasattr(_libs['grass_raster.7.9'], 'Rast_free_colors'):
    Rast_free_colors = _libs['grass_raster.7.9'].Rast_free_colors
    Rast_free_colors.argtypes = [POINTER(struct_Colors)]
    Rast_free_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 135
if hasattr(_libs['grass_raster.7.9'], 'Rast__color_free_rules'):
    Rast__color_free_rules = _libs['grass_raster.7.9'].Rast__color_free_rules
    Rast__color_free_rules.argtypes = [POINTER(struct__Color_Info_)]
    Rast__color_free_rules.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 136
if hasattr(_libs['grass_raster.7.9'], 'Rast__color_free_lookup'):
    Rast__color_free_lookup = _libs['grass_raster.7.9'].Rast__color_free_lookup
    Rast__color_free_lookup.argtypes = [POINTER(struct__Color_Info_)]
    Rast__color_free_lookup.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 137
if hasattr(_libs['grass_raster.7.9'], 'Rast__color_free_fp_lookup'):
    Rast__color_free_fp_lookup = _libs['grass_raster.7.9'].Rast__color_free_fp_lookup
    Rast__color_free_fp_lookup.argtypes = [POINTER(struct__Color_Info_)]
    Rast__color_free_fp_lookup.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 138
if hasattr(_libs['grass_raster.7.9'], 'Rast__color_reset'):
    Rast__color_reset = _libs['grass_raster.7.9'].Rast__color_reset
    Rast__color_reset.argtypes = [POINTER(struct_Colors)]
    Rast__color_reset.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 141
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_color'):
    Rast_get_color = _libs['grass_raster.7.9'].Rast_get_color
    Rast_get_color.argtypes = [POINTER(None), POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(struct_Colors), RASTER_MAP_TYPE]
    Rast_get_color.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 143
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_c_color'):
    Rast_get_c_color = _libs['grass_raster.7.9'].Rast_get_c_color
    Rast_get_c_color.argtypes = [POINTER(CELL), POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(struct_Colors)]
    Rast_get_c_color.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 144
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_f_color'):
    Rast_get_f_color = _libs['grass_raster.7.9'].Rast_get_f_color
    Rast_get_f_color.argtypes = [POINTER(FCELL), POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(struct_Colors)]
    Rast_get_f_color.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 145
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_d_color'):
    Rast_get_d_color = _libs['grass_raster.7.9'].Rast_get_d_color
    Rast_get_d_color.argtypes = [POINTER(DCELL), POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(struct_Colors)]
    Rast_get_d_color.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 146
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_null_value_color'):
    Rast_get_null_value_color = _libs['grass_raster.7.9'].Rast_get_null_value_color
    Rast_get_null_value_color.argtypes = [POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(struct_Colors)]
    Rast_get_null_value_color.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 147
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_default_color'):
    Rast_get_default_color = _libs['grass_raster.7.9'].Rast_get_default_color
    Rast_get_default_color.argtypes = [POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(struct_Colors)]
    Rast_get_default_color.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 150
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_histogram_eq_colors'):
    Rast_make_histogram_eq_colors = _libs['grass_raster.7.9'].Rast_make_histogram_eq_colors
    Rast_make_histogram_eq_colors.argtypes = [POINTER(struct_Colors), POINTER(struct_Cell_stats)]
    Rast_make_histogram_eq_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 151
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_histogram_log_colors'):
    Rast_make_histogram_log_colors = _libs['grass_raster.7.9'].Rast_make_histogram_log_colors
    Rast_make_histogram_log_colors.argtypes = [POINTER(struct_Colors), POINTER(struct_Cell_stats), c_int, c_int]
    Rast_make_histogram_log_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 154
if hasattr(_libs['grass_raster.7.9'], 'Rast_init_colors'):
    Rast_init_colors = _libs['grass_raster.7.9'].Rast_init_colors
    Rast_init_colors.argtypes = [POINTER(struct_Colors)]
    Rast_init_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 157
if hasattr(_libs['grass_raster.7.9'], 'Rast__insert_color_into_lookup'):
    Rast__insert_color_into_lookup = _libs['grass_raster.7.9'].Rast__insert_color_into_lookup
    Rast__insert_color_into_lookup.argtypes = [CELL, c_int, c_int, c_int, POINTER(struct__Color_Info_)]
    Rast__insert_color_into_lookup.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 160
if hasattr(_libs['grass_raster.7.9'], 'Rast_invert_colors'):
    Rast_invert_colors = _libs['grass_raster.7.9'].Rast_invert_colors
    Rast_invert_colors.argtypes = [POINTER(struct_Colors)]
    Rast_invert_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 163
if hasattr(_libs['grass_raster.7.9'], 'Rast_lookup_c_colors'):
    Rast_lookup_c_colors = _libs['grass_raster.7.9'].Rast_lookup_c_colors
    Rast_lookup_c_colors.argtypes = [POINTER(CELL), POINTER(c_ubyte), POINTER(c_ubyte), POINTER(c_ubyte), POINTER(c_ubyte), c_int, POINTER(struct_Colors)]
    Rast_lookup_c_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 166
if hasattr(_libs['grass_raster.7.9'], 'Rast_lookup_colors'):
    Rast_lookup_colors = _libs['grass_raster.7.9'].Rast_lookup_colors
    Rast_lookup_colors.argtypes = [POINTER(None), POINTER(c_ubyte), POINTER(c_ubyte), POINTER(c_ubyte), POINTER(c_ubyte), c_int, POINTER(struct_Colors), RASTER_MAP_TYPE]
    Rast_lookup_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 169
if hasattr(_libs['grass_raster.7.9'], 'Rast_lookup_f_colors'):
    Rast_lookup_f_colors = _libs['grass_raster.7.9'].Rast_lookup_f_colors
    Rast_lookup_f_colors.argtypes = [POINTER(FCELL), POINTER(c_ubyte), POINTER(c_ubyte), POINTER(c_ubyte), POINTER(c_ubyte), c_int, POINTER(struct_Colors)]
    Rast_lookup_f_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 172
if hasattr(_libs['grass_raster.7.9'], 'Rast_lookup_d_colors'):
    Rast_lookup_d_colors = _libs['grass_raster.7.9'].Rast_lookup_d_colors
    Rast_lookup_d_colors.argtypes = [POINTER(DCELL), POINTER(c_ubyte), POINTER(c_ubyte), POINTER(c_ubyte), POINTER(c_ubyte), c_int, POINTER(struct_Colors)]
    Rast_lookup_d_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 175
if hasattr(_libs['grass_raster.7.9'], 'Rast__lookup_colors'):
    Rast__lookup_colors = _libs['grass_raster.7.9'].Rast__lookup_colors
    Rast__lookup_colors.argtypes = [POINTER(None), POINTER(c_ubyte), POINTER(c_ubyte), POINTER(c_ubyte), POINTER(c_ubyte), c_int, POINTER(struct_Colors), c_int, c_int, RASTER_MAP_TYPE]
    Rast__lookup_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 178
if hasattr(_libs['grass_raster.7.9'], 'Rast__interpolate_color_rule'):
    Rast__interpolate_color_rule = _libs['grass_raster.7.9'].Rast__interpolate_color_rule
    Rast__interpolate_color_rule.argtypes = [DCELL, POINTER(c_ubyte), POINTER(c_ubyte), POINTER(c_ubyte), POINTER(struct__Color_Rule_)]
    Rast__interpolate_color_rule.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 182
if hasattr(_libs['grass_raster.7.9'], 'Rast__organize_colors'):
    Rast__organize_colors = _libs['grass_raster.7.9'].Rast__organize_colors
    Rast__organize_colors.argtypes = [POINTER(struct_Colors)]
    Rast__organize_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 185
if hasattr(_libs['grass_raster.7.9'], 'Rast_print_colors'):
    Rast_print_colors = _libs['grass_raster.7.9'].Rast_print_colors
    Rast_print_colors.argtypes = [POINTER(struct_Colors), DCELL, DCELL, POINTER(FILE), c_int]
    Rast_print_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 188
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_random_colors'):
    Rast_make_random_colors = _libs['grass_raster.7.9'].Rast_make_random_colors
    Rast_make_random_colors.argtypes = [POINTER(struct_Colors), CELL, CELL]
    Rast_make_random_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 191
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_c_color_range'):
    Rast_set_c_color_range = _libs['grass_raster.7.9'].Rast_set_c_color_range
    Rast_set_c_color_range.argtypes = [CELL, CELL, POINTER(struct_Colors)]
    Rast_set_c_color_range.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 192
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_d_color_range'):
    Rast_set_d_color_range = _libs['grass_raster.7.9'].Rast_set_d_color_range
    Rast_set_d_color_range.argtypes = [DCELL, DCELL, POINTER(struct_Colors)]
    Rast_set_d_color_range.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 193
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_c_color_range'):
    Rast_get_c_color_range = _libs['grass_raster.7.9'].Rast_get_c_color_range
    Rast_get_c_color_range.argtypes = [POINTER(CELL), POINTER(CELL), POINTER(struct_Colors)]
    Rast_get_c_color_range.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 194
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_d_color_range'):
    Rast_get_d_color_range = _libs['grass_raster.7.9'].Rast_get_d_color_range
    Rast_get_d_color_range.argtypes = [POINTER(DCELL), POINTER(DCELL), POINTER(struct_Colors)]
    Rast_get_d_color_range.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 197
if hasattr(_libs['grass_raster.7.9'], 'Rast_read_colors'):
    Rast_read_colors = _libs['grass_raster.7.9'].Rast_read_colors
    Rast_read_colors.argtypes = [String, String, POINTER(struct_Colors)]
    Rast_read_colors.restype = c_int

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 199
if hasattr(_libs['grass_raster.7.9'], 'Rast_mark_colors_as_fp'):
    Rast_mark_colors_as_fp = _libs['grass_raster.7.9'].Rast_mark_colors_as_fp
    Rast_mark_colors_as_fp.argtypes = [POINTER(struct_Colors)]
    Rast_mark_colors_as_fp.restype = None

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 205
if hasattr(_libs['grass_raster.7.9'], 'Rast_add_d_color_rule'):
    Rast_add_d_color_rule = _libs['grass_raster.7.9'].Rast_add_d_color_rule
    Rast_add_d_color_rule.argtypes = [POINTER(DCELL), c_int, c_int, c_int, POINTER(DCELL), c_int, c_int, c_int, POINTER(struct_Colors)]
    Rast_add_d_color_rule.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 208
if hasattr(_libs['grass_raster.7.9'], 'Rast_add_f_color_rule'):
    Rast_add_f_color_rule = _libs['grass_raster.7.9'].Rast_add_f_color_rule
    Rast_add_f_color_rule.argtypes = [POINTER(FCELL), c_int, c_int, c_int, POINTER(FCELL), c_int, c_int, c_int, POINTER(struct_Colors)]
    Rast_add_f_color_rule.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 211
if hasattr(_libs['grass_raster.7.9'], 'Rast_add_c_color_rule'):
    Rast_add_c_color_rule = _libs['grass_raster.7.9'].Rast_add_c_color_rule
    Rast_add_c_color_rule.argtypes = [POINTER(CELL), c_int, c_int, c_int, POINTER(CELL), c_int, c_int, c_int, POINTER(struct_Colors)]
    Rast_add_c_color_rule.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 214
if hasattr(_libs['grass_raster.7.9'], 'Rast_add_color_rule'):
    Rast_add_color_rule = _libs['grass_raster.7.9'].Rast_add_color_rule
    Rast_add_color_rule.argtypes = [POINTER(None), c_int, c_int, c_int, POINTER(None), c_int, c_int, c_int, POINTER(struct_Colors), RASTER_MAP_TYPE]
    Rast_add_color_rule.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 217
if hasattr(_libs['grass_raster.7.9'], 'Rast_add_modular_d_color_rule'):
    Rast_add_modular_d_color_rule = _libs['grass_raster.7.9'].Rast_add_modular_d_color_rule
    Rast_add_modular_d_color_rule.argtypes = [POINTER(DCELL), c_int, c_int, c_int, POINTER(DCELL), c_int, c_int, c_int, POINTER(struct_Colors)]
    Rast_add_modular_d_color_rule.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 220
if hasattr(_libs['grass_raster.7.9'], 'Rast_add_modular_f_color_rule'):
    Rast_add_modular_f_color_rule = _libs['grass_raster.7.9'].Rast_add_modular_f_color_rule
    Rast_add_modular_f_color_rule.argtypes = [POINTER(FCELL), c_int, c_int, c_int, POINTER(FCELL), c_int, c_int, c_int, POINTER(struct_Colors)]
    Rast_add_modular_f_color_rule.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 223
if hasattr(_libs['grass_raster.7.9'], 'Rast_add_modular_c_color_rule'):
    Rast_add_modular_c_color_rule = _libs['grass_raster.7.9'].Rast_add_modular_c_color_rule
    Rast_add_modular_c_color_rule.argtypes = [POINTER(CELL), c_int, c_int, c_int, POINTER(CELL), c_int, c_int, c_int, POINTER(struct_Colors)]
    Rast_add_modular_c_color_rule.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 226
if hasattr(_libs['grass_raster.7.9'], 'Rast_add_modular_color_rule'):
    Rast_add_modular_color_rule = _libs['grass_raster.7.9'].Rast_add_modular_color_rule
    Rast_add_modular_color_rule.argtypes = [POINTER(None), c_int, c_int, c_int, POINTER(None), c_int, c_int, c_int, POINTER(struct_Colors), RASTER_MAP_TYPE]
    Rast_add_modular_color_rule.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 231
if hasattr(_libs['grass_raster.7.9'], 'Rast_colors_count'):
    Rast_colors_count = _libs['grass_raster.7.9'].Rast_colors_count
    Rast_colors_count.argtypes = [POINTER(struct_Colors)]
    Rast_colors_count.restype = c_int

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

read_rule_fn = CFUNCTYPE(UNCHECKED(c_int), POINTER(None), DCELL, DCELL, POINTER(DCELL), POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(c_int)) # C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 238

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 240
if hasattr(_libs['grass_raster.7.9'], 'Rast_parse_color_rule'):
    Rast_parse_color_rule = _libs['grass_raster.7.9'].Rast_parse_color_rule
    Rast_parse_color_rule.argtypes = [DCELL, DCELL, String, POINTER(DCELL), POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(c_int)]
    Rast_parse_color_rule.restype = c_int

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 243
if hasattr(_libs['grass_raster.7.9'], 'Rast_read_color_rule'):
    Rast_read_color_rule = _libs['grass_raster.7.9'].Rast_read_color_rule
    Rast_read_color_rule.argtypes = [POINTER(None), DCELL, DCELL, POINTER(DCELL), POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(c_int)]
    Rast_read_color_rule.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 245
if hasattr(_libs['grass_raster.7.9'], 'Rast_read_color_rules'):
    Rast_read_color_rules = _libs['grass_raster.7.9'].Rast_read_color_rules
    Rast_read_color_rules.argtypes = [POINTER(struct_Colors), DCELL, DCELL, POINTER(read_rule_fn), POINTER(None)]
    Rast_read_color_rules.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 246
if hasattr(_libs['grass_raster.7.9'], 'Rast_load_colors'):
    Rast_load_colors = _libs['grass_raster.7.9'].Rast_load_colors
    Rast_load_colors.argtypes = [POINTER(struct_Colors), String, CELL, CELL]
    Rast_load_colors.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 247
if hasattr(_libs['grass_raster.7.9'], 'Rast_load_fp_colors'):
    Rast_load_fp_colors = _libs['grass_raster.7.9'].Rast_load_fp_colors
    Rast_load_fp_colors.argtypes = [POINTER(struct_Colors), String, DCELL, DCELL]
    Rast_load_fp_colors.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 248
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_colors'):
    Rast_make_colors = _libs['grass_raster.7.9'].Rast_make_colors
    Rast_make_colors.argtypes = [POINTER(struct_Colors), String, CELL, CELL]
    Rast_make_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 249
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_fp_colors'):
    Rast_make_fp_colors = _libs['grass_raster.7.9'].Rast_make_fp_colors
    Rast_make_fp_colors.argtypes = [POINTER(struct_Colors), String, DCELL, DCELL]
    Rast_make_fp_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 252
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_c_color'):
    Rast_set_c_color = _libs['grass_raster.7.9'].Rast_set_c_color
    Rast_set_c_color.argtypes = [CELL, c_int, c_int, c_int, POINTER(struct_Colors)]
    Rast_set_c_color.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 253
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_d_color'):
    Rast_set_d_color = _libs['grass_raster.7.9'].Rast_set_d_color
    Rast_set_d_color.argtypes = [DCELL, c_int, c_int, c_int, POINTER(struct_Colors)]
    Rast_set_d_color.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 254
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_null_value_color'):
    Rast_set_null_value_color = _libs['grass_raster.7.9'].Rast_set_null_value_color
    Rast_set_null_value_color.argtypes = [c_int, c_int, c_int, POINTER(struct_Colors)]
    Rast_set_null_value_color.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 255
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_default_color'):
    Rast_set_default_color = _libs['grass_raster.7.9'].Rast_set_default_color
    Rast_set_default_color.argtypes = [c_int, c_int, c_int, POINTER(struct_Colors)]
    Rast_set_default_color.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 258
if hasattr(_libs['grass_raster.7.9'], 'Rast_shift_c_colors'):
    Rast_shift_c_colors = _libs['grass_raster.7.9'].Rast_shift_c_colors
    Rast_shift_c_colors.argtypes = [CELL, POINTER(struct_Colors)]
    Rast_shift_c_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 259
if hasattr(_libs['grass_raster.7.9'], 'Rast_shift_d_colors'):
    Rast_shift_d_colors = _libs['grass_raster.7.9'].Rast_shift_d_colors
    Rast_shift_d_colors.argtypes = [DCELL, POINTER(struct_Colors)]
    Rast_shift_d_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 262
if hasattr(_libs['grass_raster.7.9'], 'Rast_write_colors'):
    Rast_write_colors = _libs['grass_raster.7.9'].Rast_write_colors
    Rast_write_colors.argtypes = [String, String, POINTER(struct_Colors)]
    Rast_write_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 263
if hasattr(_libs['grass_raster.7.9'], 'Rast__write_colors'):
    Rast__write_colors = _libs['grass_raster.7.9'].Rast__write_colors
    Rast__write_colors.argtypes = [POINTER(FILE), POINTER(struct_Colors)]
    Rast__write_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 266
if hasattr(_libs['grass_raster.7.9'], 'Rast_histogram_eq_colors'):
    Rast_histogram_eq_colors = _libs['grass_raster.7.9'].Rast_histogram_eq_colors
    Rast_histogram_eq_colors.argtypes = [POINTER(struct_Colors), POINTER(struct_Colors), POINTER(struct_Cell_stats)]
    Rast_histogram_eq_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 268
if hasattr(_libs['grass_raster.7.9'], 'Rast_histogram_eq_fp_colors'):
    Rast_histogram_eq_fp_colors = _libs['grass_raster.7.9'].Rast_histogram_eq_fp_colors
    Rast_histogram_eq_fp_colors.argtypes = [POINTER(struct_Colors), POINTER(struct_Colors), POINTER(struct_FP_stats)]
    Rast_histogram_eq_fp_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 270
if hasattr(_libs['grass_raster.7.9'], 'Rast_log_colors'):
    Rast_log_colors = _libs['grass_raster.7.9'].Rast_log_colors
    Rast_log_colors.argtypes = [POINTER(struct_Colors), POINTER(struct_Colors), c_int]
    Rast_log_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 271
if hasattr(_libs['grass_raster.7.9'], 'Rast_abs_log_colors'):
    Rast_abs_log_colors = _libs['grass_raster.7.9'].Rast_abs_log_colors
    Rast_abs_log_colors.argtypes = [POINTER(struct_Colors), POINTER(struct_Colors), c_int]
    Rast_abs_log_colors.restype = None

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

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

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

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

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 281
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_clear'):
    Rast_fpreclass_clear = _libs['grass_raster.7.9'].Rast_fpreclass_clear
    Rast_fpreclass_clear.argtypes = [POINTER(struct_FPReclass)]
    Rast_fpreclass_clear.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 282
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_reset'):
    Rast_fpreclass_reset = _libs['grass_raster.7.9'].Rast_fpreclass_reset
    Rast_fpreclass_reset.argtypes = [POINTER(struct_FPReclass)]
    Rast_fpreclass_reset.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 283
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_init'):
    Rast_fpreclass_init = _libs['grass_raster.7.9'].Rast_fpreclass_init
    Rast_fpreclass_init.argtypes = [POINTER(struct_FPReclass)]
    Rast_fpreclass_init.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 284
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_set_domain'):
    Rast_fpreclass_set_domain = _libs['grass_raster.7.9'].Rast_fpreclass_set_domain
    Rast_fpreclass_set_domain.argtypes = [POINTER(struct_FPReclass), DCELL, DCELL]
    Rast_fpreclass_set_domain.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 285
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_set_range'):
    Rast_fpreclass_set_range = _libs['grass_raster.7.9'].Rast_fpreclass_set_range
    Rast_fpreclass_set_range.argtypes = [POINTER(struct_FPReclass), DCELL, DCELL]
    Rast_fpreclass_set_range.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 286
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_get_limits'):
    Rast_fpreclass_get_limits = _libs['grass_raster.7.9'].Rast_fpreclass_get_limits
    Rast_fpreclass_get_limits.argtypes = [POINTER(struct_FPReclass), POINTER(DCELL), POINTER(DCELL), POINTER(DCELL), POINTER(DCELL)]
    Rast_fpreclass_get_limits.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 288
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_nof_rules'):
    Rast_fpreclass_nof_rules = _libs['grass_raster.7.9'].Rast_fpreclass_nof_rules
    Rast_fpreclass_nof_rules.argtypes = [POINTER(struct_FPReclass)]
    Rast_fpreclass_nof_rules.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 289
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_get_ith_rule'):
    Rast_fpreclass_get_ith_rule = _libs['grass_raster.7.9'].Rast_fpreclass_get_ith_rule
    Rast_fpreclass_get_ith_rule.argtypes = [POINTER(struct_FPReclass), c_int, POINTER(DCELL), POINTER(DCELL), POINTER(DCELL), POINTER(DCELL)]
    Rast_fpreclass_get_ith_rule.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 291
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_set_neg_infinite_rule'):
    Rast_fpreclass_set_neg_infinite_rule = _libs['grass_raster.7.9'].Rast_fpreclass_set_neg_infinite_rule
    Rast_fpreclass_set_neg_infinite_rule.argtypes = [POINTER(struct_FPReclass), DCELL, DCELL]
    Rast_fpreclass_set_neg_infinite_rule.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 292
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_get_neg_infinite_rule'):
    Rast_fpreclass_get_neg_infinite_rule = _libs['grass_raster.7.9'].Rast_fpreclass_get_neg_infinite_rule
    Rast_fpreclass_get_neg_infinite_rule.argtypes = [POINTER(struct_FPReclass), POINTER(DCELL), POINTER(DCELL)]
    Rast_fpreclass_get_neg_infinite_rule.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 294
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_set_pos_infinite_rule'):
    Rast_fpreclass_set_pos_infinite_rule = _libs['grass_raster.7.9'].Rast_fpreclass_set_pos_infinite_rule
    Rast_fpreclass_set_pos_infinite_rule.argtypes = [POINTER(struct_FPReclass), DCELL, DCELL]
    Rast_fpreclass_set_pos_infinite_rule.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 295
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_get_pos_infinite_rule'):
    Rast_fpreclass_get_pos_infinite_rule = _libs['grass_raster.7.9'].Rast_fpreclass_get_pos_infinite_rule
    Rast_fpreclass_get_pos_infinite_rule.argtypes = [POINTER(struct_FPReclass), POINTER(DCELL), POINTER(DCELL)]
    Rast_fpreclass_get_pos_infinite_rule.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 297
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_add_rule'):
    Rast_fpreclass_add_rule = _libs['grass_raster.7.9'].Rast_fpreclass_add_rule
    Rast_fpreclass_add_rule.argtypes = [POINTER(struct_FPReclass), DCELL, DCELL, DCELL, DCELL]
    Rast_fpreclass_add_rule.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 298
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_reverse_rule_order'):
    Rast_fpreclass_reverse_rule_order = _libs['grass_raster.7.9'].Rast_fpreclass_reverse_rule_order
    Rast_fpreclass_reverse_rule_order.argtypes = [POINTER(struct_FPReclass)]
    Rast_fpreclass_reverse_rule_order.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 299
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_get_cell_value'):
    Rast_fpreclass_get_cell_value = _libs['grass_raster.7.9'].Rast_fpreclass_get_cell_value
    Rast_fpreclass_get_cell_value.argtypes = [POINTER(struct_FPReclass), DCELL]
    Rast_fpreclass_get_cell_value.restype = DCELL

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 300
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_perform_di'):
    Rast_fpreclass_perform_di = _libs['grass_raster.7.9'].Rast_fpreclass_perform_di
    Rast_fpreclass_perform_di.argtypes = [POINTER(struct_FPReclass), POINTER(DCELL), POINTER(CELL), c_int]
    Rast_fpreclass_perform_di.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 302
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_perform_df'):
    Rast_fpreclass_perform_df = _libs['grass_raster.7.9'].Rast_fpreclass_perform_df
    Rast_fpreclass_perform_df.argtypes = [POINTER(struct_FPReclass), POINTER(DCELL), POINTER(FCELL), c_int]
    Rast_fpreclass_perform_df.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 304
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_perform_dd'):
    Rast_fpreclass_perform_dd = _libs['grass_raster.7.9'].Rast_fpreclass_perform_dd
    Rast_fpreclass_perform_dd.argtypes = [POINTER(struct_FPReclass), POINTER(DCELL), POINTER(DCELL), c_int]
    Rast_fpreclass_perform_dd.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 306
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_perform_fi'):
    Rast_fpreclass_perform_fi = _libs['grass_raster.7.9'].Rast_fpreclass_perform_fi
    Rast_fpreclass_perform_fi.argtypes = [POINTER(struct_FPReclass), POINTER(FCELL), POINTER(CELL), c_int]
    Rast_fpreclass_perform_fi.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 308
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_perform_ff'):
    Rast_fpreclass_perform_ff = _libs['grass_raster.7.9'].Rast_fpreclass_perform_ff
    Rast_fpreclass_perform_ff.argtypes = [POINTER(struct_FPReclass), POINTER(FCELL), POINTER(FCELL), c_int]
    Rast_fpreclass_perform_ff.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 310
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_perform_fd'):
    Rast_fpreclass_perform_fd = _libs['grass_raster.7.9'].Rast_fpreclass_perform_fd
    Rast_fpreclass_perform_fd.argtypes = [POINTER(struct_FPReclass), POINTER(FCELL), POINTER(DCELL), c_int]
    Rast_fpreclass_perform_fd.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 312
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_perform_ii'):
    Rast_fpreclass_perform_ii = _libs['grass_raster.7.9'].Rast_fpreclass_perform_ii
    Rast_fpreclass_perform_ii.argtypes = [POINTER(struct_FPReclass), POINTER(CELL), POINTER(CELL), c_int]
    Rast_fpreclass_perform_ii.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 314
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_perform_if'):
    Rast_fpreclass_perform_if = _libs['grass_raster.7.9'].Rast_fpreclass_perform_if
    Rast_fpreclass_perform_if.argtypes = [POINTER(struct_FPReclass), POINTER(CELL), POINTER(FCELL), c_int]
    Rast_fpreclass_perform_if.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 316
if hasattr(_libs['grass_raster.7.9'], 'Rast_fpreclass_perform_id'):
    Rast_fpreclass_perform_id = _libs['grass_raster.7.9'].Rast_fpreclass_perform_id
    Rast_fpreclass_perform_id.argtypes = [POINTER(struct_FPReclass), POINTER(CELL), POINTER(DCELL), c_int]
    Rast_fpreclass_perform_id.restype = None

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 320
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_gdal_link'):
    Rast_get_gdal_link = _libs['grass_raster.7.9'].Rast_get_gdal_link
    Rast_get_gdal_link.argtypes = [String, String]
    Rast_get_gdal_link.restype = POINTER(struct_GDAL_link)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 321
if hasattr(_libs['grass_raster.7.9'], 'Rast_create_gdal_link'):
    Rast_create_gdal_link = _libs['grass_raster.7.9'].Rast_create_gdal_link
    Rast_create_gdal_link.argtypes = [String, RASTER_MAP_TYPE]
    Rast_create_gdal_link.restype = POINTER(struct_GDAL_link)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 322
if hasattr(_libs['grass_raster.7.9'], 'Rast_close_gdal_link'):
    Rast_close_gdal_link = _libs['grass_raster.7.9'].Rast_close_gdal_link
    Rast_close_gdal_link.argtypes = [POINTER(struct_GDAL_link)]
    Rast_close_gdal_link.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 323
if hasattr(_libs['grass_raster.7.9'], 'Rast_close_gdal_write_link'):
    Rast_close_gdal_write_link = _libs['grass_raster.7.9'].Rast_close_gdal_write_link
    Rast_close_gdal_write_link.argtypes = [POINTER(struct_GDAL_link)]
    Rast_close_gdal_write_link.restype = c_int

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 329
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_row_nomask'):
    Rast_get_row_nomask = _libs['grass_raster.7.9'].Rast_get_row_nomask
    Rast_get_row_nomask.argtypes = [c_int, POINTER(None), c_int, RASTER_MAP_TYPE]
    Rast_get_row_nomask.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 330
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_c_row_nomask'):
    Rast_get_c_row_nomask = _libs['grass_raster.7.9'].Rast_get_c_row_nomask
    Rast_get_c_row_nomask.argtypes = [c_int, POINTER(CELL), c_int]
    Rast_get_c_row_nomask.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 331
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_f_row_nomask'):
    Rast_get_f_row_nomask = _libs['grass_raster.7.9'].Rast_get_f_row_nomask
    Rast_get_f_row_nomask.argtypes = [c_int, POINTER(FCELL), c_int]
    Rast_get_f_row_nomask.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 332
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_d_row_nomask'):
    Rast_get_d_row_nomask = _libs['grass_raster.7.9'].Rast_get_d_row_nomask
    Rast_get_d_row_nomask.argtypes = [c_int, POINTER(DCELL), c_int]
    Rast_get_d_row_nomask.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 333
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_row'):
    Rast_get_row = _libs['grass_raster.7.9'].Rast_get_row
    Rast_get_row.argtypes = [c_int, POINTER(None), c_int, RASTER_MAP_TYPE]
    Rast_get_row.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 334
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_c_row'):
    Rast_get_c_row = _libs['grass_raster.7.9'].Rast_get_c_row
    Rast_get_c_row.argtypes = [c_int, POINTER(CELL), c_int]
    Rast_get_c_row.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 335
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_f_row'):
    Rast_get_f_row = _libs['grass_raster.7.9'].Rast_get_f_row
    Rast_get_f_row.argtypes = [c_int, POINTER(FCELL), c_int]
    Rast_get_f_row.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 336
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_d_row'):
    Rast_get_d_row = _libs['grass_raster.7.9'].Rast_get_d_row
    Rast_get_d_row.argtypes = [c_int, POINTER(DCELL), c_int]
    Rast_get_d_row.restype = None

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

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 341
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_row_colors'):
    Rast_get_row_colors = _libs['grass_raster.7.9'].Rast_get_row_colors
    Rast_get_row_colors.argtypes = [c_int, c_int, POINTER(struct_Colors), POINTER(c_ubyte), POINTER(c_ubyte), POINTER(c_ubyte), POINTER(c_ubyte)]
    Rast_get_row_colors.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 345
if hasattr(_libs['grass_raster.7.9'], 'Rast_histogram_eq'):
    Rast_histogram_eq = _libs['grass_raster.7.9'].Rast_histogram_eq
    Rast_histogram_eq.argtypes = [POINTER(struct_Histogram), POINTER(POINTER(c_ubyte)), POINTER(CELL), POINTER(CELL)]
    Rast_histogram_eq.restype = None

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 350
if hasattr(_libs['grass_raster.7.9'], 'Rast_read_histogram'):
    Rast_read_histogram = _libs['grass_raster.7.9'].Rast_read_histogram
    Rast_read_histogram.argtypes = [String, String, POINTER(struct_Histogram)]
    Rast_read_histogram.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 351
if hasattr(_libs['grass_raster.7.9'], 'Rast_write_histogram'):
    Rast_write_histogram = _libs['grass_raster.7.9'].Rast_write_histogram
    Rast_write_histogram.argtypes = [String, POINTER(struct_Histogram)]
    Rast_write_histogram.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 352
if hasattr(_libs['grass_raster.7.9'], 'Rast_write_histogram_cs'):
    Rast_write_histogram_cs = _libs['grass_raster.7.9'].Rast_write_histogram_cs
    Rast_write_histogram_cs.argtypes = [String, POINTER(struct_Cell_stats)]
    Rast_write_histogram_cs.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 353
if hasattr(_libs['grass_raster.7.9'], 'Rast_make_histogram_cs'):
    Rast_make_histogram_cs = _libs['grass_raster.7.9'].Rast_make_histogram_cs
    Rast_make_histogram_cs.argtypes = [POINTER(struct_Cell_stats), POINTER(struct_Histogram)]
    Rast_make_histogram_cs.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 354
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_histogram_num'):
    Rast_get_histogram_num = _libs['grass_raster.7.9'].Rast_get_histogram_num
    Rast_get_histogram_num.argtypes = [POINTER(struct_Histogram)]
    Rast_get_histogram_num.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 355
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_histogram_cat'):
    Rast_get_histogram_cat = _libs['grass_raster.7.9'].Rast_get_histogram_cat
    Rast_get_histogram_cat.argtypes = [c_int, POINTER(struct_Histogram)]
    Rast_get_histogram_cat.restype = CELL

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 356
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_histogram_count'):
    Rast_get_histogram_count = _libs['grass_raster.7.9'].Rast_get_histogram_count
    Rast_get_histogram_count.argtypes = [c_int, POINTER(struct_Histogram)]
    Rast_get_histogram_count.restype = c_long

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 357
if hasattr(_libs['grass_raster.7.9'], 'Rast_free_histogram'):
    Rast_free_histogram = _libs['grass_raster.7.9'].Rast_free_histogram
    Rast_free_histogram.argtypes = [POINTER(struct_Histogram)]
    Rast_free_histogram.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 358
if hasattr(_libs['grass_raster.7.9'], 'Rast_sort_histogram'):
    Rast_sort_histogram = _libs['grass_raster.7.9'].Rast_sort_histogram
    Rast_sort_histogram.argtypes = [POINTER(struct_Histogram)]
    Rast_sort_histogram.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 359
if hasattr(_libs['grass_raster.7.9'], 'Rast_sort_histogram_by_count'):
    Rast_sort_histogram_by_count = _libs['grass_raster.7.9'].Rast_sort_histogram_by_count
    Rast_sort_histogram_by_count.argtypes = [POINTER(struct_Histogram)]
    Rast_sort_histogram_by_count.restype = c_int

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 361
if hasattr(_libs['grass_raster.7.9'], 'Rast_add_histogram'):
    Rast_add_histogram = _libs['grass_raster.7.9'].Rast_add_histogram
    Rast_add_histogram.argtypes = [CELL, c_long, POINTER(struct_Histogram)]
    Rast_add_histogram.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 362
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_histogram'):
    Rast_set_histogram = _libs['grass_raster.7.9'].Rast_set_histogram
    Rast_set_histogram.argtypes = [CELL, c_long, POINTER(struct_Histogram)]
    Rast_set_histogram.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 363
if hasattr(_libs['grass_raster.7.9'], 'Rast_extend_histogram'):
    Rast_extend_histogram = _libs['grass_raster.7.9'].Rast_extend_histogram
    Rast_extend_histogram.argtypes = [CELL, c_long, POINTER(struct_Histogram)]
    Rast_extend_histogram.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 364
if hasattr(_libs['grass_raster.7.9'], 'Rast_zero_histogram'):
    Rast_zero_histogram = _libs['grass_raster.7.9'].Rast_zero_histogram
    Rast_zero_histogram.argtypes = [POINTER(struct_Histogram)]
    Rast_zero_histogram.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 367
if hasattr(_libs['grass_raster.7.9'], 'Rast__read_history'):
    Rast__read_history = _libs['grass_raster.7.9'].Rast__read_history
    Rast__read_history.argtypes = [POINTER(struct_History), POINTER(FILE)]
    Rast__read_history.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 368
if hasattr(_libs['grass_raster.7.9'], 'Rast_read_history'):
    Rast_read_history = _libs['grass_raster.7.9'].Rast_read_history
    Rast_read_history.argtypes = [String, String, POINTER(struct_History)]
    Rast_read_history.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 369
if hasattr(_libs['grass_raster.7.9'], 'Rast__write_history'):
    Rast__write_history = _libs['grass_raster.7.9'].Rast__write_history
    Rast__write_history.argtypes = [POINTER(struct_History), POINTER(FILE)]
    Rast__write_history.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 370
if hasattr(_libs['grass_raster.7.9'], 'Rast_write_history'):
    Rast_write_history = _libs['grass_raster.7.9'].Rast_write_history
    Rast_write_history.argtypes = [String, POINTER(struct_History)]
    Rast_write_history.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 371
if hasattr(_libs['grass_raster.7.9'], 'Rast_short_history'):
    Rast_short_history = _libs['grass_raster.7.9'].Rast_short_history
    Rast_short_history.argtypes = [String, String, POINTER(struct_History)]
    Rast_short_history.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 372
if hasattr(_libs['grass_raster.7.9'], 'Rast_command_history'):
    Rast_command_history = _libs['grass_raster.7.9'].Rast_command_history
    Rast_command_history.argtypes = [POINTER(struct_History)]
    Rast_command_history.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 373
if hasattr(_libs['grass_raster.7.9'], 'Rast_append_history'):
    Rast_append_history = _libs['grass_raster.7.9'].Rast_append_history
    Rast_append_history.argtypes = [POINTER(struct_History), String]
    Rast_append_history.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 374
if hasattr(_libs['grass_raster.7.9'], 'Rast_append_format_history'):
    _func = _libs['grass_raster.7.9'].Rast_append_format_history
    _restype = None
    _errcheck = None
    _argtypes = [POINTER(struct_History), String]
    Rast_append_format_history = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 376
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_history'):
    Rast_get_history = _libs['grass_raster.7.9'].Rast_get_history
    Rast_get_history.argtypes = [POINTER(struct_History), c_int]
    Rast_get_history.restype = c_char_p

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 377
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_history'):
    Rast_set_history = _libs['grass_raster.7.9'].Rast_set_history
    Rast_set_history.argtypes = [POINTER(struct_History), c_int, String]
    Rast_set_history.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 378
if hasattr(_libs['grass_raster.7.9'], 'Rast_format_history'):
    _func = _libs['grass_raster.7.9'].Rast_format_history
    _restype = None
    _errcheck = None
    _argtypes = [POINTER(struct_History), c_int, String]
    Rast_format_history = _variadic_function(_func,_restype,_argtypes,_errcheck)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 380
if hasattr(_libs['grass_raster.7.9'], 'Rast_clear_history'):
    Rast_clear_history = _libs['grass_raster.7.9'].Rast_clear_history
    Rast_clear_history.argtypes = [POINTER(struct_History)]
    Rast_clear_history.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 381
if hasattr(_libs['grass_raster.7.9'], 'Rast_free_history'):
    Rast_free_history = _libs['grass_raster.7.9'].Rast_free_history
    Rast_free_history.argtypes = [POINTER(struct_History)]
    Rast_free_history.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 382
if hasattr(_libs['grass_raster.7.9'], 'Rast_history_length'):
    Rast_history_length = _libs['grass_raster.7.9'].Rast_history_length
    Rast_history_length.argtypes = [POINTER(struct_History)]
    Rast_history_length.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 383
if hasattr(_libs['grass_raster.7.9'], 'Rast_history_line'):
    Rast_history_line = _libs['grass_raster.7.9'].Rast_history_line
    Rast_history_line.argtypes = [POINTER(struct_History), c_int]
    Rast_history_line.restype = c_char_p

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

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

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

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

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 393
if hasattr(_libs['grass_raster.7.9'], 'Rast_interp_linear'):
    Rast_interp_linear = _libs['grass_raster.7.9'].Rast_interp_linear
    Rast_interp_linear.argtypes = [c_double, DCELL, DCELL]
    Rast_interp_linear.restype = DCELL

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 394
if hasattr(_libs['grass_raster.7.9'], 'Rast_interp_bilinear'):
    Rast_interp_bilinear = _libs['grass_raster.7.9'].Rast_interp_bilinear
    Rast_interp_bilinear.argtypes = [c_double, c_double, DCELL, DCELL, DCELL, DCELL]
    Rast_interp_bilinear.restype = DCELL

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 395
if hasattr(_libs['grass_raster.7.9'], 'Rast_interp_cubic'):
    Rast_interp_cubic = _libs['grass_raster.7.9'].Rast_interp_cubic
    Rast_interp_cubic.argtypes = [c_double, DCELL, DCELL, DCELL, DCELL]
    Rast_interp_cubic.restype = DCELL

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 396
if hasattr(_libs['grass_raster.7.9'], 'Rast_interp_bicubic'):
    Rast_interp_bicubic = _libs['grass_raster.7.9'].Rast_interp_bicubic
    Rast_interp_bicubic.argtypes = [c_double, c_double, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL]
    Rast_interp_bicubic.restype = DCELL

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 400
if hasattr(_libs['grass_raster.7.9'], 'Rast_interp_lanczos'):
    Rast_interp_lanczos = _libs['grass_raster.7.9'].Rast_interp_lanczos
    Rast_interp_lanczos.argtypes = [c_double, c_double, POINTER(DCELL)]
    Rast_interp_lanczos.restype = DCELL

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 401
if hasattr(_libs['grass_raster.7.9'], 'Rast_interp_cubic_bspline'):
    Rast_interp_cubic_bspline = _libs['grass_raster.7.9'].Rast_interp_cubic_bspline
    Rast_interp_cubic_bspline.argtypes = [c_double, DCELL, DCELL, DCELL, DCELL]
    Rast_interp_cubic_bspline.restype = DCELL

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 402
if hasattr(_libs['grass_raster.7.9'], 'Rast_interp_bicubic_bspline'):
    Rast_interp_bicubic_bspline = _libs['grass_raster.7.9'].Rast_interp_bicubic_bspline
    Rast_interp_bicubic_bspline.argtypes = [c_double, c_double, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL, DCELL]
    Rast_interp_bicubic_bspline.restype = DCELL

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

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

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

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 423
if hasattr(_libs['grass_raster.7.9'], 'Rast__set_null_value'):
    Rast__set_null_value = _libs['grass_raster.7.9'].Rast__set_null_value
    Rast__set_null_value.argtypes = [POINTER(None), c_int, c_int, RASTER_MAP_TYPE]
    Rast__set_null_value.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 424
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_null_value'):
    Rast_set_null_value = _libs['grass_raster.7.9'].Rast_set_null_value
    Rast_set_null_value.argtypes = [POINTER(None), c_int, RASTER_MAP_TYPE]
    Rast_set_null_value.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 425
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_c_null_value'):
    Rast_set_c_null_value = _libs['grass_raster.7.9'].Rast_set_c_null_value
    Rast_set_c_null_value.argtypes = [POINTER(CELL), c_int]
    Rast_set_c_null_value.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 426
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_f_null_value'):
    Rast_set_f_null_value = _libs['grass_raster.7.9'].Rast_set_f_null_value
    Rast_set_f_null_value.argtypes = [POINTER(FCELL), c_int]
    Rast_set_f_null_value.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 427
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_d_null_value'):
    Rast_set_d_null_value = _libs['grass_raster.7.9'].Rast_set_d_null_value
    Rast_set_d_null_value.argtypes = [POINTER(DCELL), c_int]
    Rast_set_d_null_value.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 428
if hasattr(_libs['grass_raster.7.9'], 'Rast_is_null_value'):
    Rast_is_null_value = _libs['grass_raster.7.9'].Rast_is_null_value
    Rast_is_null_value.argtypes = [POINTER(None), RASTER_MAP_TYPE]
    Rast_is_null_value.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 438
if hasattr(_libs['grass_raster.7.9'], 'Rast_insert_null_values'):
    Rast_insert_null_values = _libs['grass_raster.7.9'].Rast_insert_null_values
    Rast_insert_null_values.argtypes = [POINTER(None), String, c_int, RASTER_MAP_TYPE]
    Rast_insert_null_values.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 439
if hasattr(_libs['grass_raster.7.9'], 'Rast_insert_c_null_values'):
    Rast_insert_c_null_values = _libs['grass_raster.7.9'].Rast_insert_c_null_values
    Rast_insert_c_null_values.argtypes = [POINTER(CELL), String, c_int]
    Rast_insert_c_null_values.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 440
if hasattr(_libs['grass_raster.7.9'], 'Rast_insert_f_null_values'):
    Rast_insert_f_null_values = _libs['grass_raster.7.9'].Rast_insert_f_null_values
    Rast_insert_f_null_values.argtypes = [POINTER(FCELL), String, c_int]
    Rast_insert_f_null_values.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 441
if hasattr(_libs['grass_raster.7.9'], 'Rast_insert_d_null_values'):
    Rast_insert_d_null_values = _libs['grass_raster.7.9'].Rast_insert_d_null_values
    Rast_insert_d_null_values.argtypes = [POINTER(DCELL), String, c_int]
    Rast_insert_d_null_values.restype = None

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 443
if hasattr(_libs['grass_raster.7.9'], 'Rast__convert_01_flags'):
    Rast__convert_01_flags = _libs['grass_raster.7.9'].Rast__convert_01_flags
    Rast__convert_01_flags.argtypes = [String, POINTER(c_ubyte), c_int]
    Rast__convert_01_flags.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 444
if hasattr(_libs['grass_raster.7.9'], 'Rast__convert_flags_01'):
    Rast__convert_flags_01 = _libs['grass_raster.7.9'].Rast__convert_flags_01
    Rast__convert_flags_01.argtypes = [String, POINTER(c_ubyte), c_int]
    Rast__convert_flags_01.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 445
if hasattr(_libs['grass_raster.7.9'], 'Rast__init_null_bits'):
    Rast__init_null_bits = _libs['grass_raster.7.9'].Rast__init_null_bits
    Rast__init_null_bits.argtypes = [POINTER(c_ubyte), c_int]
    Rast__init_null_bits.restype = None

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

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

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

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

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

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 454
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_cell_format'):
    Rast_get_cell_format = _libs['grass_raster.7.9'].Rast_get_cell_format
    Rast_get_cell_format.argtypes = [CELL]
    Rast_get_cell_format.restype = c_int

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

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 457
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_fp_type'):
    Rast_set_fp_type = _libs['grass_raster.7.9'].Rast_set_fp_type
    Rast_set_fp_type.argtypes = [RASTER_MAP_TYPE]
    Rast_set_fp_type.restype = None

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 459
if hasattr(_libs['grass_raster.7.9'], 'Rast_map_type'):
    Rast_map_type = _libs['grass_raster.7.9'].Rast_map_type
    Rast_map_type.argtypes = [String, String]
    Rast_map_type.restype = RASTER_MAP_TYPE

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 460
if hasattr(_libs['grass_raster.7.9'], 'Rast__check_fp_type'):
    Rast__check_fp_type = _libs['grass_raster.7.9'].Rast__check_fp_type
    Rast__check_fp_type.argtypes = [String, String]
    Rast__check_fp_type.restype = RASTER_MAP_TYPE

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 461
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_map_type'):
    Rast_get_map_type = _libs['grass_raster.7.9'].Rast_get_map_type
    Rast_get_map_type.argtypes = [c_int]
    Rast_get_map_type.restype = RASTER_MAP_TYPE

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 462
if hasattr(_libs['grass_raster.7.9'], 'Rast_open_new'):
    Rast_open_new = _libs['grass_raster.7.9'].Rast_open_new
    Rast_open_new.argtypes = [String, RASTER_MAP_TYPE]
    Rast_open_new.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 463
if hasattr(_libs['grass_raster.7.9'], 'Rast_open_new_uncompressed'):
    Rast_open_new_uncompressed = _libs['grass_raster.7.9'].Rast_open_new_uncompressed
    Rast_open_new_uncompressed.argtypes = [String, RASTER_MAP_TYPE]
    Rast_open_new_uncompressed.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 464
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_quant_rules'):
    Rast_set_quant_rules = _libs['grass_raster.7.9'].Rast_set_quant_rules
    Rast_set_quant_rules.argtypes = [c_int, POINTER(struct_Quant)]
    Rast_set_quant_rules.restype = None

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

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 471
if hasattr(_libs['grass_raster.7.9'], 'Rast_put_row'):
    Rast_put_row = _libs['grass_raster.7.9'].Rast_put_row
    Rast_put_row.argtypes = [c_int, POINTER(None), RASTER_MAP_TYPE]
    Rast_put_row.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 472
if hasattr(_libs['grass_raster.7.9'], 'Rast_put_c_row'):
    Rast_put_c_row = _libs['grass_raster.7.9'].Rast_put_c_row
    Rast_put_c_row.argtypes = [c_int, POINTER(CELL)]
    Rast_put_c_row.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 473
if hasattr(_libs['grass_raster.7.9'], 'Rast_put_f_row'):
    Rast_put_f_row = _libs['grass_raster.7.9'].Rast_put_f_row
    Rast_put_f_row.argtypes = [c_int, POINTER(FCELL)]
    Rast_put_f_row.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 474
if hasattr(_libs['grass_raster.7.9'], 'Rast_put_d_row'):
    Rast_put_d_row = _libs['grass_raster.7.9'].Rast_put_d_row
    Rast_put_d_row.argtypes = [c_int, POINTER(DCELL)]
    Rast_put_d_row.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 475
if hasattr(_libs['grass_raster.7.9'], 'Rast__write_null_bits'):
    Rast__write_null_bits = _libs['grass_raster.7.9'].Rast__write_null_bits
    Rast__write_null_bits.argtypes = [c_int, POINTER(c_ubyte)]
    Rast__write_null_bits.restype = None

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 481
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_clear'):
    Rast_quant_clear = _libs['grass_raster.7.9'].Rast_quant_clear
    Rast_quant_clear.argtypes = [POINTER(struct_Quant)]
    Rast_quant_clear.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 482
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_free'):
    Rast_quant_free = _libs['grass_raster.7.9'].Rast_quant_free
    Rast_quant_free.argtypes = [POINTER(struct_Quant)]
    Rast_quant_free.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 483
if hasattr(_libs['grass_raster.7.9'], 'Rast__quant_organize_fp_lookup'):
    Rast__quant_organize_fp_lookup = _libs['grass_raster.7.9'].Rast__quant_organize_fp_lookup
    Rast__quant_organize_fp_lookup.argtypes = [POINTER(struct_Quant)]
    Rast__quant_organize_fp_lookup.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 484
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_init'):
    Rast_quant_init = _libs['grass_raster.7.9'].Rast_quant_init
    Rast_quant_init.argtypes = [POINTER(struct_Quant)]
    Rast_quant_init.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 485
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_is_truncate'):
    Rast_quant_is_truncate = _libs['grass_raster.7.9'].Rast_quant_is_truncate
    Rast_quant_is_truncate.argtypes = [POINTER(struct_Quant)]
    Rast_quant_is_truncate.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 486
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_is_round'):
    Rast_quant_is_round = _libs['grass_raster.7.9'].Rast_quant_is_round
    Rast_quant_is_round.argtypes = [POINTER(struct_Quant)]
    Rast_quant_is_round.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 487
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_truncate'):
    Rast_quant_truncate = _libs['grass_raster.7.9'].Rast_quant_truncate
    Rast_quant_truncate.argtypes = [POINTER(struct_Quant)]
    Rast_quant_truncate.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 488
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_round'):
    Rast_quant_round = _libs['grass_raster.7.9'].Rast_quant_round
    Rast_quant_round.argtypes = [POINTER(struct_Quant)]
    Rast_quant_round.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 489
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_get_limits'):
    Rast_quant_get_limits = _libs['grass_raster.7.9'].Rast_quant_get_limits
    Rast_quant_get_limits.argtypes = [POINTER(struct_Quant), POINTER(DCELL), POINTER(DCELL), POINTER(CELL), POINTER(CELL)]
    Rast_quant_get_limits.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 491
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_nof_rules'):
    Rast_quant_nof_rules = _libs['grass_raster.7.9'].Rast_quant_nof_rules
    Rast_quant_nof_rules.argtypes = [POINTER(struct_Quant)]
    Rast_quant_nof_rules.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 492
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_get_ith_rule'):
    Rast_quant_get_ith_rule = _libs['grass_raster.7.9'].Rast_quant_get_ith_rule
    Rast_quant_get_ith_rule.argtypes = [POINTER(struct_Quant), c_int, POINTER(DCELL), POINTER(DCELL), POINTER(CELL), POINTER(CELL)]
    Rast_quant_get_ith_rule.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 494
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_set_neg_infinite_rule'):
    Rast_quant_set_neg_infinite_rule = _libs['grass_raster.7.9'].Rast_quant_set_neg_infinite_rule
    Rast_quant_set_neg_infinite_rule.argtypes = [POINTER(struct_Quant), DCELL, CELL]
    Rast_quant_set_neg_infinite_rule.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 495
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_get_neg_infinite_rule'):
    Rast_quant_get_neg_infinite_rule = _libs['grass_raster.7.9'].Rast_quant_get_neg_infinite_rule
    Rast_quant_get_neg_infinite_rule.argtypes = [POINTER(struct_Quant), POINTER(DCELL), POINTER(CELL)]
    Rast_quant_get_neg_infinite_rule.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 496
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_set_pos_infinite_rule'):
    Rast_quant_set_pos_infinite_rule = _libs['grass_raster.7.9'].Rast_quant_set_pos_infinite_rule
    Rast_quant_set_pos_infinite_rule.argtypes = [POINTER(struct_Quant), DCELL, CELL]
    Rast_quant_set_pos_infinite_rule.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 497
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_get_pos_infinite_rule'):
    Rast_quant_get_pos_infinite_rule = _libs['grass_raster.7.9'].Rast_quant_get_pos_infinite_rule
    Rast_quant_get_pos_infinite_rule.argtypes = [POINTER(struct_Quant), POINTER(DCELL), POINTER(CELL)]
    Rast_quant_get_pos_infinite_rule.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 498
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_add_rule'):
    Rast_quant_add_rule = _libs['grass_raster.7.9'].Rast_quant_add_rule
    Rast_quant_add_rule.argtypes = [POINTER(struct_Quant), DCELL, DCELL, CELL, CELL]
    Rast_quant_add_rule.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 499
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_reverse_rule_order'):
    Rast_quant_reverse_rule_order = _libs['grass_raster.7.9'].Rast_quant_reverse_rule_order
    Rast_quant_reverse_rule_order.argtypes = [POINTER(struct_Quant)]
    Rast_quant_reverse_rule_order.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 500
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_get_cell_value'):
    Rast_quant_get_cell_value = _libs['grass_raster.7.9'].Rast_quant_get_cell_value
    Rast_quant_get_cell_value.argtypes = [POINTER(struct_Quant), DCELL]
    Rast_quant_get_cell_value.restype = CELL

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 501
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_perform_d'):
    Rast_quant_perform_d = _libs['grass_raster.7.9'].Rast_quant_perform_d
    Rast_quant_perform_d.argtypes = [POINTER(struct_Quant), POINTER(DCELL), POINTER(CELL), c_int]
    Rast_quant_perform_d.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 502
if hasattr(_libs['grass_raster.7.9'], 'Rast_quant_perform_f'):
    Rast_quant_perform_f = _libs['grass_raster.7.9'].Rast_quant_perform_f
    Rast_quant_perform_f.argtypes = [POINTER(struct_Quant), POINTER(FCELL), POINTER(CELL), c_int]
    Rast_quant_perform_f.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 503
if hasattr(_libs['grass_raster.7.9'], 'Rast__quant_get_rule_for_d_raster_val'):
    Rast__quant_get_rule_for_d_raster_val = _libs['grass_raster.7.9'].Rast__quant_get_rule_for_d_raster_val
    Rast__quant_get_rule_for_d_raster_val.argtypes = [POINTER(struct_Quant), DCELL]
    Rast__quant_get_rule_for_d_raster_val.restype = POINTER(struct_Quant_table)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 507
if hasattr(_libs['grass_raster.7.9'], 'Rast__quant_import'):
    Rast__quant_import = _libs['grass_raster.7.9'].Rast__quant_import
    Rast__quant_import.argtypes = [String, String, POINTER(struct_Quant)]
    Rast__quant_import.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 508
if hasattr(_libs['grass_raster.7.9'], 'Rast__quant_export'):
    Rast__quant_export = _libs['grass_raster.7.9'].Rast__quant_export
    Rast__quant_export.argtypes = [String, String, POINTER(struct_Quant)]
    Rast__quant_export.restype = c_int

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

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 513
if hasattr(_libs['grass_raster.7.9'], 'Rast_quantize_fp_map'):
    Rast_quantize_fp_map = _libs['grass_raster.7.9'].Rast_quantize_fp_map
    Rast_quantize_fp_map.argtypes = [String, String, CELL, CELL]
    Rast_quantize_fp_map.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 514
if hasattr(_libs['grass_raster.7.9'], 'Rast_quantize_fp_map_range'):
    Rast_quantize_fp_map_range = _libs['grass_raster.7.9'].Rast_quantize_fp_map_range
    Rast_quantize_fp_map_range.argtypes = [String, String, DCELL, DCELL, CELL, CELL]
    Rast_quantize_fp_map_range.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 516
if hasattr(_libs['grass_raster.7.9'], 'Rast_write_quant'):
    Rast_write_quant = _libs['grass_raster.7.9'].Rast_write_quant
    Rast_write_quant.argtypes = [String, String, POINTER(struct_Quant)]
    Rast_write_quant.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 517
if hasattr(_libs['grass_raster.7.9'], 'Rast_read_quant'):
    Rast_read_quant = _libs['grass_raster.7.9'].Rast_read_quant
    Rast_read_quant.argtypes = [String, String, POINTER(struct_Quant)]
    Rast_read_quant.restype = c_int

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 521
if hasattr(_libs['grass_raster.7.9'], 'Rast_construct_default_range'):
    Rast_construct_default_range = _libs['grass_raster.7.9'].Rast_construct_default_range
    Rast_construct_default_range.argtypes = [POINTER(struct_Range)]
    Rast_construct_default_range.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 522
if hasattr(_libs['grass_raster.7.9'], 'Rast_read_fp_range'):
    Rast_read_fp_range = _libs['grass_raster.7.9'].Rast_read_fp_range
    Rast_read_fp_range.argtypes = [String, String, POINTER(struct_FPRange)]
    Rast_read_fp_range.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 523
if hasattr(_libs['grass_raster.7.9'], 'Rast_read_range'):
    Rast_read_range = _libs['grass_raster.7.9'].Rast_read_range
    Rast_read_range.argtypes = [String, String, POINTER(struct_Range)]
    Rast_read_range.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 524
if hasattr(_libs['grass_raster.7.9'], 'Rast_write_range'):
    Rast_write_range = _libs['grass_raster.7.9'].Rast_write_range
    Rast_write_range.argtypes = [String, POINTER(struct_Range)]
    Rast_write_range.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 525
if hasattr(_libs['grass_raster.7.9'], 'Rast_write_fp_range'):
    Rast_write_fp_range = _libs['grass_raster.7.9'].Rast_write_fp_range
    Rast_write_fp_range.argtypes = [String, POINTER(struct_FPRange)]
    Rast_write_fp_range.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 526
if hasattr(_libs['grass_raster.7.9'], 'Rast_update_range'):
    Rast_update_range = _libs['grass_raster.7.9'].Rast_update_range
    Rast_update_range.argtypes = [CELL, POINTER(struct_Range)]
    Rast_update_range.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 527
if hasattr(_libs['grass_raster.7.9'], 'Rast_update_fp_range'):
    Rast_update_fp_range = _libs['grass_raster.7.9'].Rast_update_fp_range
    Rast_update_fp_range.argtypes = [DCELL, POINTER(struct_FPRange)]
    Rast_update_fp_range.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 528
if hasattr(_libs['grass_raster.7.9'], 'Rast_row_update_range'):
    Rast_row_update_range = _libs['grass_raster.7.9'].Rast_row_update_range
    Rast_row_update_range.argtypes = [POINTER(CELL), c_int, POINTER(struct_Range)]
    Rast_row_update_range.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 529
if hasattr(_libs['grass_raster.7.9'], 'Rast__row_update_range'):
    Rast__row_update_range = _libs['grass_raster.7.9'].Rast__row_update_range
    Rast__row_update_range.argtypes = [POINTER(CELL), c_int, POINTER(struct_Range), c_int]
    Rast__row_update_range.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 530
if hasattr(_libs['grass_raster.7.9'], 'Rast_row_update_fp_range'):
    Rast_row_update_fp_range = _libs['grass_raster.7.9'].Rast_row_update_fp_range
    Rast_row_update_fp_range.argtypes = [POINTER(None), c_int, POINTER(struct_FPRange), RASTER_MAP_TYPE]
    Rast_row_update_fp_range.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 532
if hasattr(_libs['grass_raster.7.9'], 'Rast_init_range'):
    Rast_init_range = _libs['grass_raster.7.9'].Rast_init_range
    Rast_init_range.argtypes = [POINTER(struct_Range)]
    Rast_init_range.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 533
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_range_min_max'):
    Rast_get_range_min_max = _libs['grass_raster.7.9'].Rast_get_range_min_max
    Rast_get_range_min_max.argtypes = [POINTER(struct_Range), POINTER(CELL), POINTER(CELL)]
    Rast_get_range_min_max.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 534
if hasattr(_libs['grass_raster.7.9'], 'Rast_init_fp_range'):
    Rast_init_fp_range = _libs['grass_raster.7.9'].Rast_init_fp_range
    Rast_init_fp_range.argtypes = [POINTER(struct_FPRange)]
    Rast_init_fp_range.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 535
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_fp_range_min_max'):
    Rast_get_fp_range_min_max = _libs['grass_raster.7.9'].Rast_get_fp_range_min_max
    Rast_get_fp_range_min_max.argtypes = [POINTER(struct_FPRange), POINTER(DCELL), POINTER(DCELL)]
    Rast_get_fp_range_min_max.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 537
if hasattr(_libs['grass_raster.7.9'], 'Rast_read_rstats'):
    Rast_read_rstats = _libs['grass_raster.7.9'].Rast_read_rstats
    Rast_read_rstats.argtypes = [String, String, POINTER(struct_R_stats)]
    Rast_read_rstats.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 538
if hasattr(_libs['grass_raster.7.9'], 'Rast_write_rstats'):
    Rast_write_rstats = _libs['grass_raster.7.9'].Rast_write_rstats
    Rast_write_rstats.argtypes = [String, POINTER(struct_R_stats)]
    Rast_write_rstats.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 541
if hasattr(_libs['grass_raster.7.9'], 'Rast_raster_cmp'):
    Rast_raster_cmp = _libs['grass_raster.7.9'].Rast_raster_cmp
    Rast_raster_cmp.argtypes = [POINTER(None), POINTER(None), RASTER_MAP_TYPE]
    Rast_raster_cmp.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 542
if hasattr(_libs['grass_raster.7.9'], 'Rast_raster_cpy'):
    Rast_raster_cpy = _libs['grass_raster.7.9'].Rast_raster_cpy
    Rast_raster_cpy.argtypes = [POINTER(None), POINTER(None), c_int, RASTER_MAP_TYPE]
    Rast_raster_cpy.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 543
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_c_value'):
    Rast_set_c_value = _libs['grass_raster.7.9'].Rast_set_c_value
    Rast_set_c_value.argtypes = [POINTER(None), CELL, RASTER_MAP_TYPE]
    Rast_set_c_value.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 544
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_f_value'):
    Rast_set_f_value = _libs['grass_raster.7.9'].Rast_set_f_value
    Rast_set_f_value.argtypes = [POINTER(None), FCELL, RASTER_MAP_TYPE]
    Rast_set_f_value.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 545
if hasattr(_libs['grass_raster.7.9'], 'Rast_set_d_value'):
    Rast_set_d_value = _libs['grass_raster.7.9'].Rast_set_d_value
    Rast_set_d_value.argtypes = [POINTER(None), DCELL, RASTER_MAP_TYPE]
    Rast_set_d_value.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 546
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_c_value'):
    Rast_get_c_value = _libs['grass_raster.7.9'].Rast_get_c_value
    Rast_get_c_value.argtypes = [POINTER(None), RASTER_MAP_TYPE]
    Rast_get_c_value.restype = CELL

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 547
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_f_value'):
    Rast_get_f_value = _libs['grass_raster.7.9'].Rast_get_f_value
    Rast_get_f_value.argtypes = [POINTER(None), RASTER_MAP_TYPE]
    Rast_get_f_value.restype = FCELL

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 548
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_d_value'):
    Rast_get_d_value = _libs['grass_raster.7.9'].Rast_get_d_value
    Rast_get_d_value.argtypes = [POINTER(None), RASTER_MAP_TYPE]
    Rast_get_d_value.restype = DCELL

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

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

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

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 557
if hasattr(_libs['grass_raster.7.9'], 'Rast_map_to_img_str'):
    Rast_map_to_img_str = _libs['grass_raster.7.9'].Rast_map_to_img_str
    Rast_map_to_img_str.argtypes = [String, c_int, POINTER(c_ubyte)]
    Rast_map_to_img_str.restype = c_int

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

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 562
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_reclass'):
    Rast_get_reclass = _libs['grass_raster.7.9'].Rast_get_reclass
    Rast_get_reclass.argtypes = [String, String, POINTER(struct_Reclass)]
    Rast_get_reclass.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 563
if hasattr(_libs['grass_raster.7.9'], 'Rast_free_reclass'):
    Rast_free_reclass = _libs['grass_raster.7.9'].Rast_free_reclass
    Rast_free_reclass.argtypes = [POINTER(struct_Reclass)]
    Rast_free_reclass.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 564
if hasattr(_libs['grass_raster.7.9'], 'Rast_put_reclass'):
    Rast_put_reclass = _libs['grass_raster.7.9'].Rast_put_reclass
    Rast_put_reclass.argtypes = [String, POINTER(struct_Reclass)]
    Rast_put_reclass.restype = c_int

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 567
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_sample_nearest'):
    Rast_get_sample_nearest = _libs['grass_raster.7.9'].Rast_get_sample_nearest
    Rast_get_sample_nearest.argtypes = [c_int, POINTER(struct_Cell_head), POINTER(struct_Categories), c_double, c_double, c_int]
    Rast_get_sample_nearest.restype = DCELL

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 568
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_sample_bilinear'):
    Rast_get_sample_bilinear = _libs['grass_raster.7.9'].Rast_get_sample_bilinear
    Rast_get_sample_bilinear.argtypes = [c_int, POINTER(struct_Cell_head), POINTER(struct_Categories), c_double, c_double, c_int]
    Rast_get_sample_bilinear.restype = DCELL

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 569
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_sample_cubic'):
    Rast_get_sample_cubic = _libs['grass_raster.7.9'].Rast_get_sample_cubic
    Rast_get_sample_cubic.argtypes = [c_int, POINTER(struct_Cell_head), POINTER(struct_Categories), c_double, c_double, c_int]
    Rast_get_sample_cubic.restype = DCELL

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 570
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_sample'):
    Rast_get_sample = _libs['grass_raster.7.9'].Rast_get_sample
    Rast_get_sample.argtypes = [c_int, POINTER(struct_Cell_head), POINTER(struct_Categories), c_double, c_double, c_int, INTERP_TYPE]
    Rast_get_sample.restype = DCELL

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

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

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

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

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 580
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_vrt'):
    Rast_get_vrt = _libs['grass_raster.7.9'].Rast_get_vrt
    Rast_get_vrt.argtypes = [String, String]
    Rast_get_vrt.restype = POINTER(struct_R_vrt)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 581
if hasattr(_libs['grass_raster.7.9'], 'Rast_close_vrt'):
    Rast_close_vrt = _libs['grass_raster.7.9'].Rast_close_vrt
    Rast_close_vrt.argtypes = [POINTER(struct_R_vrt)]
    Rast_close_vrt.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 582
if hasattr(_libs['grass_raster.7.9'], 'Rast_get_vrt_row'):
    Rast_get_vrt_row = _libs['grass_raster.7.9'].Rast_get_vrt_row
    Rast_get_vrt_row.argtypes = [c_int, POINTER(None), c_int, RASTER_MAP_TYPE]
    Rast_get_vrt_row.restype = c_int

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 604
if hasattr(_libs['grass_raster.7.9'], 'Rast_zero_buf'):
    Rast_zero_buf = _libs['grass_raster.7.9'].Rast_zero_buf
    Rast_zero_buf.argtypes = [POINTER(None), RASTER_MAP_TYPE]
    Rast_zero_buf.restype = None

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 605
if hasattr(_libs['grass_raster.7.9'], 'Rast_zero_input_buf'):
    Rast_zero_input_buf = _libs['grass_raster.7.9'].Rast_zero_input_buf
    Rast_zero_input_buf.argtypes = [POINTER(None), RASTER_MAP_TYPE]
    Rast_zero_input_buf.restype = None

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

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 7
try:
    RECLASS_TABLE = 1
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 8
try:
    RECLASS_RULES = 2
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 9
try:
    RECLASS_SCALE = 3
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 11
try:
    CELL_TYPE = 0
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 12
try:
    FCELL_TYPE = 1
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 13
try:
    DCELL_TYPE = 2
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 19
try:
    INTERP_UNKNOWN = 0
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 20
try:
    INTERP_NEAREST = 1
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 21
try:
    INTERP_BILINEAR = 2
except:
    pass

# C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 22
try:
    INTERP_BICUBIC = 3
except:
    pass

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 416
def Rast_is_c_null_value(cellVal):
    return ((cellVal[0]) == 2147483648)

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 418
def Rast_is_f_null_value(fcellVal):
    return ((fcellVal[0]) != (fcellVal[0]))

# C:/msys32/usr/src/grass79/dist.i386-w64-mingw32/include/grass/defs/raster.h: 420
def Rast_is_d_null_value(dcellVal):
    return ((dcellVal[0]) != (dcellVal[0]))

Reclass = struct_Reclass # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 31

FPReclass_table = struct_FPReclass_table # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 42

FPReclass = struct_FPReclass # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 52

Quant_table = struct_Quant_table # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 76

Quant = struct_Quant # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 84

Categories = struct_Categories # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 127

History = struct_History # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 180

Cell_stats_node = struct_Cell_stats_node # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 192

Cell_stats = struct_Cell_stats # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 190

Histogram_list = struct_Histogram_list # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 211

Histogram = struct_Histogram # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 207

R_stats = struct_R_stats # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 218

Range = struct_Range # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 225

FPRange = struct_FPRange # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 233

FP_stats = struct_FP_stats # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 241

GDAL_link = struct_GDAL_link # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 251

R_vrt = struct_R_vrt # C:\\msys32\\usr\\src\\grass79\\dist.i386-w64-mingw32\\include\\grass\\raster.h: 252

# No inserted files

