Go to the source code of this file.
Defines | |
#define | G_NPOS G_MAXLONG |
#define | G_WHITESPACE " \t\n" |
#define | g_array_set_val(a, i, v) g_array_set_vals( a , i , &v , 1 ) |
Functions | |
gsize | eh_string_find_first_of (GString *s, char c) |
gsize | eh_string_last_first_of (GString *s, char c) |
void | eh_string_remove_chr (GString *s, char c) |
void | eh_string_remove_white_space (GString *s) |
char * | eh_string_c_str (GString *) |
GSList * | eh_slist_remove_and_free (GSList *l, gpointer p) |
void | eh_free_slist_data (gpointer data, gpointer user_data) |
#define g_array_set_val | ( | a, | |||
i, | |||||
v | ) | g_array_set_vals( a , i , &v , 1 ) |
#define G_NPOS G_MAXLONG |
Definition at line 38 of file eh_glib.h.
Referenced by eh_string_find_first_of(), eh_string_find_last_of(), and eh_string_remove_chr().
#define G_WHITESPACE " \t\n" |
void eh_free_slist_data | ( | gpointer | data, | |
gpointer | user_data | |||
) |
Definition at line 82 of file eh_glib.c.
References eh_free.
Referenced by sed_hydro_process_records().
GSList* eh_slist_remove_and_free | ( | GSList * | l, | |
gpointer | p | |||
) |
char* eh_string_c_str | ( | GString * | ) |
gsize eh_string_find_first_of | ( | GString * | s, | |
char | c | |||
) |
Definition at line 23 of file eh_glib.c.
References G_NPOS.
Referenced by eh_str_to_time_in_years(), and eh_string_remove_chr().
gsize eh_string_last_first_of | ( | GString * | s, | |
char | c | |||
) |
void eh_string_remove_chr | ( | GString * | s, | |
char | c | |||
) |
Definition at line 35 of file eh_glib.c.
References eh_string_find_first_of(), and G_NPOS.
Referenced by eh_string_remove_white_space().
void eh_string_remove_white_space | ( | GString * | s | ) |
Definition at line 42 of file eh_glib.c.
References eh_string_remove_chr(), and G_WHITESPACE.
Referenced by eh_str_to_time_in_years().