16 #include <grass/gis.h> 17 #include <grass/raster.h> 47 for (rule = cp->
rules; rule; rule = next) {
void Rast__color_free_fp_lookup(struct _Color_Info_ *cp)
Free color rules structure.
struct _Color_Info_ fixed
void G_free(void *buf)
Free allocated memory.
struct _Color_Rule_ * next
void Rast_init_colors(struct Colors *colors)
Initialize color structure.
void Rast__color_free_lookup(struct _Color_Info_ *cp)
Free color rules structure.
void Rast_free_colors(struct Colors *colors)
Free color structure memory.
struct _Color_Info_::@3 lookup
struct _Color_Info_ modular
struct _Color_Info_::@4 fp_lookup
void Rast__color_reset(struct Colors *colors)
Reset colors structure.
void Rast__color_free_rules(struct _Color_Info_ *cp)
Free color rules structure.
struct _Color_Rule_ * rules