GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#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 More... | |
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 | ) |
Definition at line 56 of file color_free.c.
References G_free().
int G__color_free_lookup | ( | struct _Color_Info_ * | cp | ) |
int G__color_free_rules | ( | struct _Color_Info_ * | cp | ) |
Definition at line 30 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 68 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().
Referenced by Gs_pack_colors(), Gs_pack_colors_float(), gsd_put_legend(), and Gvl_unload_colors_data().