From 17037e32d8a6d54fd7e25c2a5fa81ea6a39cf66d Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 28 Jul 2011 09:25:48 +0200 Subject: [PATCH] doc: fix type for arguments of hook_timer in plugin API reference --- doc/en/weechat_plugin_api.en.txt | 4 ++-- doc/fr/weechat_plugin_api.fr.txt | 4 ++-- doc/it/weechat_plugin_api.it.txt | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt index b38b1f70f..73073109a 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.txt @@ -6257,8 +6257,8 @@ Prototype: [source,C] ---------------------------------------- struct t_hook *weechat_hook_timer (long interval, - const char *align_second, - const char *max_calls, + int align_second, + int max_calls, int (*callback)(void *data, int remaining_calls), void *callback_data); diff --git a/doc/fr/weechat_plugin_api.fr.txt b/doc/fr/weechat_plugin_api.fr.txt index 23f40ba87..94b142bf0 100644 --- a/doc/fr/weechat_plugin_api.fr.txt +++ b/doc/fr/weechat_plugin_api.fr.txt @@ -6331,8 +6331,8 @@ Prototype : [source,C] ---------------------------------------- struct t_hook *weechat_hook_timer (long interval, - const char *align_second, - const char *max_calls, + int align_second, + int max_calls, int (*callback)(void *data, int remaining_calls), void *callback_data); diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index 7263a961e..b9e5ab4a8 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -6271,8 +6271,8 @@ Prototipo: [source,C] ---------------------------------------- struct t_hook *weechat_hook_timer (long interval, - const char *align_second, - const char *max_calls, + int align_second, + int max_calls, int (*callback)(void *data, int remaining_calls), void *callback_data);