diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-07-20 18:12:07 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-07-20 18:12:07 +0200 |
commit | eab011073224b13ada61f80f3731e8dd459b7bfa (patch) | |
tree | bc05f9c4bd577a2c8ae7b8917098a4f6c54c8310 /src/gui/gui-filter.c | |
parent | 658013a1e42967e498629367ac7d2d39ba7eec51 (diff) | |
download | weechat-eab011073224b13ada61f80f3731e8dd459b7bfa.zip |
core: add support of arrays in hdata variables
Diffstat (limited to 'src/gui/gui-filter.c')
-rw-r--r-- | src/gui/gui-filter.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/gui-filter.c b/src/gui/gui-filter.c index fa149b37b..6f4ea13f8 100644 --- a/src/gui/gui-filter.c +++ b/src/gui/gui-filter.c @@ -452,19 +452,19 @@ gui_filter_hdata_filter_cb (void *data, const char *hdata_name) hdata = hdata_new (NULL, hdata_name, "prev_filter", "next_filter"); if (hdata) { - HDATA_VAR(struct t_gui_filter, enabled, INTEGER, NULL); - HDATA_VAR(struct t_gui_filter, name, STRING, NULL); - HDATA_VAR(struct t_gui_filter, buffer_name, STRING, NULL); - HDATA_VAR(struct t_gui_filter, num_buffers, INTEGER, NULL); - HDATA_VAR(struct t_gui_filter, buffers, POINTER, NULL); - HDATA_VAR(struct t_gui_filter, tags, STRING, NULL); - HDATA_VAR(struct t_gui_filter, tags_count, INTEGER, NULL); - HDATA_VAR(struct t_gui_filter, tags_array, POINTER, NULL); - HDATA_VAR(struct t_gui_filter, regex, STRING, NULL); - HDATA_VAR(struct t_gui_filter, regex_prefix, POINTER, NULL); - HDATA_VAR(struct t_gui_filter, regex_message, POINTER, NULL); - HDATA_VAR(struct t_gui_filter, prev_filter, POINTER, hdata_name); - HDATA_VAR(struct t_gui_filter, next_filter, POINTER, hdata_name); + HDATA_VAR(struct t_gui_filter, enabled, INTEGER, NULL, NULL); + HDATA_VAR(struct t_gui_filter, name, STRING, NULL, NULL); + HDATA_VAR(struct t_gui_filter, buffer_name, STRING, NULL, NULL); + HDATA_VAR(struct t_gui_filter, num_buffers, INTEGER, NULL, NULL); + HDATA_VAR(struct t_gui_filter, buffers, POINTER, NULL, NULL); + HDATA_VAR(struct t_gui_filter, tags, STRING, NULL, NULL); + HDATA_VAR(struct t_gui_filter, tags_count, INTEGER, NULL, NULL); + HDATA_VAR(struct t_gui_filter, tags_array, STRING, "tags_count", NULL); + HDATA_VAR(struct t_gui_filter, regex, STRING, NULL, NULL); + HDATA_VAR(struct t_gui_filter, regex_prefix, POINTER, NULL, NULL); + HDATA_VAR(struct t_gui_filter, regex_message, POINTER, NULL, NULL); + HDATA_VAR(struct t_gui_filter, prev_filter, POINTER, NULL, hdata_name); + HDATA_VAR(struct t_gui_filter, next_filter, POINTER, NULL, hdata_name); HDATA_LIST(gui_filters); HDATA_LIST(last_gui_filter); } |