diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-07-23 19:03:08 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-07-23 19:03:08 +0200 |
commit | b869a145ac21fa8145454391dd555ed3fe91848a (patch) | |
tree | 9df8ff0c0014226595af840932b93eca7e320e45 /doc/it/weechat_plugin_api.it.txt | |
parent | 51c1168ff38acfa3a81acb5ad09b2d3216bfed0f (diff) | |
download | weechat-b869a145ac21fa8145454391dd555ed3fe91848a.zip |
doc: add missing argument "pos_option_name" in function "config_search_with_string" (plugin API reference)
Diffstat (limited to 'doc/it/weechat_plugin_api.it.txt')
-rw-r--r-- | doc/it/weechat_plugin_api.it.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index 7e49e13e9..0a7c56a5b 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -4371,7 +4371,8 @@ Prototipo: void weechat_config_search_with_string (const char *option_name, struct t_config_file **config_file, struct t_config_section **section, - struct t_config_option **option); + struct t_config_option **option, + char **pos_option_name); ---------------------------------------- Argomenti: @@ -4383,6 +4384,9 @@ Argomenti: dell'opzione, se viene trovata * 'option': puntatore al puntatore dell'opzione, sarĂ impostato al puntatore di un'opzione, se viene trovata +// TRANSLATION MISSING +* 'pos_option_name': pointer to a string pointer, will be set to pointer to + name of option, if found Esempio in C: @@ -4391,11 +4395,13 @@ Esempio in C: struct t_config_file *ptr_config_file; struct t_config_section *ptr_section; struct t_config_option *ptr_option; +char *option_name; weechat_config_search_with_string ("file.section.option", &ptr_config_file, &ptr_section, - &ptr_option); + &ptr_option, + &option_name); if (ptr_option) { /* opzione trovata */ |