#include <stdlib.h>
#include <grass/gis.h>
Go to the source code of this file.
Functions | |
int | G_free_colors (struct Colors *colors) |
free color structure memory | |
int | G__color_free_rules (struct _Color_Info_ *cp) |
int | G__color_free_lookup (struct _Color_Info_ *cp) |
int | G__color_free_fp_lookup (struct _Color_Info_ *cp) |
int | G__color_reset (struct Colors *colors) |
int G__color_free_fp_lookup | ( | struct _Color_Info_ * | cp | ) |
int G__color_free_lookup | ( | struct _Color_Info_ * | cp | ) |
int G__color_free_rules | ( | struct _Color_Info_ * | cp | ) |
Definition at line 31 of file color_free.c.
References G_free(), and NULL.
Referenced by G__color_reset().
int G__color_reset | ( | struct Colors * | colors | ) |
Definition at line 74 of file color_free.c.
References G__color_free_lookup(), and G__color_free_rules().
Referenced by G_free_colors().
int G_free_colors | ( | struct Colors * | colors | ) |
free color structure memory
The dynamically allocated memory associated with the colors structure is freed. Note. This routine may be used after G_read_colors as well as after G_init_colors.
colors |
Definition at line 17 of file color_free.c.
References G__color_reset(), and G_init_colors().