diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/en/weechat_plugin_api.en.adoc | 6 | ||||
-rw-r--r-- | doc/fr/weechat_plugin_api.fr.adoc | 6 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.adoc | 6 | ||||
-rw-r--r-- | doc/ja/weechat_plugin_api.ja.adoc | 6 | ||||
-rw-r--r-- | doc/sr/weechat_plugin_api.sr.adoc | 6 |
5 files changed, 15 insertions, 15 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index cffb5da1e..e71097f42 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -17759,7 +17759,7 @@ Script (Python): def infolist_time(infolist: str, var: str) -> int: ... # example -weechat.prnt("", "time = %ld" % weechat.infolist_time(infolist, "my_time")) +weechat.prnt("", "time = %d" % weechat.infolist_time(infolist, "my_time")) ---- ==== infolist_free @@ -18810,7 +18810,7 @@ Script (Python): def hdata_long(hdata: str, pointer: str, name: str) -> int: ... # example -weechat.prnt("", "longvar = %ld" % weechat.hdata_long(hdata, pointer, "longvar")) +weechat.prnt("", "longvar = %d" % weechat.hdata_long(hdata, pointer, "longvar")) ---- ==== hdata_string @@ -18902,7 +18902,7 @@ def hdata_pointer(hdata: str, pointer: str, name: str) -> str: ... # example hdata = weechat.hdata_get("buffer") buffer = weechat.buffer_search_main() -weechat.prnt("", "lines = %lx" % weechat.hdata_pointer(hdata, buffer, "lines")) +weechat.prnt("", "lines = %x" % weechat.hdata_pointer(hdata, buffer, "lines")) ---- ==== hdata_time diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc index 0fcbcd861..65ad30de5 100644 --- a/doc/fr/weechat_plugin_api.fr.adoc +++ b/doc/fr/weechat_plugin_api.fr.adoc @@ -18134,7 +18134,7 @@ Script (Python) : def infolist_time(infolist: str, var: str) -> int: ... # exemple -weechat.prnt("", "date/heure = %ld" % weechat.infolist_time(infolist, "mon_time")) +weechat.prnt("", "date/heure = %d" % weechat.infolist_time(infolist, "mon_time")) ---- ==== infolist_free @@ -19206,7 +19206,7 @@ Script (Python) : def hdata_long(hdata: str, pointer: str, name: str) -> int: ... # exemple -weechat.prnt("", "longvar = %ld" % weechat.hdata_long(hdata, pointer, "longvar")) +weechat.prnt("", "longvar = %d" % weechat.hdata_long(hdata, pointer, "longvar")) ---- ==== hdata_string @@ -19302,7 +19302,7 @@ def hdata_pointer(hdata: str, pointer: str, name: str) -> str: ... # exemple hdata = weechat.hdata_get("buffer") buffer = weechat.buffer_search_main() -weechat.prnt("", "lines = %lx" % weechat.hdata_pointer(hdata, buffer, "lines")) +weechat.prnt("", "lines = %x" % weechat.hdata_pointer(hdata, buffer, "lines")) ---- ==== hdata_time diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index 7cbbaf894..c7efed09f 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -18574,7 +18574,7 @@ Script (Python): def infolist_time(infolist: str, var: str) -> int: ... # esempio -weechat.prnt("", "time = %ld" % weechat.infolist_time(infolist, "my_time")) +weechat.prnt("", "time = %d" % weechat.infolist_time(infolist, "my_time")) ---- ==== infolist_free @@ -19664,7 +19664,7 @@ Script (Python): def hdata_long(hdata: str, pointer: str, name: str) -> int: ... # esempio -weechat.prnt("", "longvar = %ld" % weechat.hdata_long(hdata, pointer, "longvar")) +weechat.prnt("", "longvar = %d" % weechat.hdata_long(hdata, pointer, "longvar")) ---- ==== hdata_string @@ -19760,7 +19760,7 @@ def hdata_pointer(hdata: str, pointer: str, name: str) -> str: ... # esempio hdata = weechat.hdata_get("buffer") buffer = weechat.buffer_search_main() -weechat.prnt("", "lines = %lx" % weechat.hdata_pointer(hdata, buffer, "lines")) +weechat.prnt("", "lines = %x" % weechat.hdata_pointer(hdata, buffer, "lines")) ---- ==== hdata_time diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index c1c367c88..61f3d1269 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -17994,7 +17994,7 @@ weechat_printf (NULL, "time = %ld", def infolist_time(infolist: str, var: str) -> int: ... # 例 -weechat.prnt("", "time = %ld" % weechat.infolist_time(infolist, "my_time")) +weechat.prnt("", "time = %d" % weechat.infolist_time(infolist, "my_time")) ---- ==== infolist_free @@ -19049,7 +19049,7 @@ weechat_printf (NULL, "longvar = %ld", weechat_hdata_long (hdata, pointer, "long def hdata_long(hdata: str, pointer: str, name: str) -> int: ... # 例 -weechat.prnt("", "longvar = %ld" % weechat.hdata_long(hdata, pointer, "longvar")) +weechat.prnt("", "longvar = %d" % weechat.hdata_long(hdata, pointer, "longvar")) ---- ==== hdata_string @@ -19141,7 +19141,7 @@ def hdata_pointer(hdata: str, pointer: str, name: str) -> str: ... # 例 hdata = weechat.hdata_get("buffer") buffer = weechat.buffer_search_main() -weechat.prnt("", "lines = %lx" % weechat.hdata_pointer(hdata, buffer, "lines")) +weechat.prnt("", "lines = %x" % weechat.hdata_pointer(hdata, buffer, "lines")) ---- ==== hdata_time diff --git a/doc/sr/weechat_plugin_api.sr.adoc b/doc/sr/weechat_plugin_api.sr.adoc index add3debff..59d78117c 100644 --- a/doc/sr/weechat_plugin_api.sr.adoc +++ b/doc/sr/weechat_plugin_api.sr.adoc @@ -17232,7 +17232,7 @@ weechat_printf (NULL, "time = %ld", def infolist_time(infolist: str, var: str) -> int: ... # пример -weechat.prnt("", "time = %ld" % weechat.infolist_time(infolist, "my_time")) +weechat.prnt("", "time = %d" % weechat.infolist_time(infolist, "my_time")) ---- ==== infolist_free @@ -18249,7 +18249,7 @@ weechat_printf (NULL, "longvar = %ld", weechat_hdata_long (hdata, pointer, "long def hdata_long(hdata: str, pointer: str, name: str) -> int: ... # пример -weechat.prnt("", "longvar = %ld" % weechat.hdata_long(hdata, pointer, "longvar")) +weechat.prnt("", "longvar = %d" % weechat.hdata_long(hdata, pointer, "longvar")) ---- ==== hdata_string @@ -18339,7 +18339,7 @@ def hdata_pointer(hdata: str, pointer: str, name: str) -> str: ... # пример hdata = weechat.hdata_get("buffer") buffer = weechat.buffer_search_main() -weechat.prnt("", "lines = %lx" % weechat.hdata_pointer(hdata, buffer, "lines")) +weechat.prnt("", "lines = %x" % weechat.hdata_pointer(hdata, buffer, "lines")) ---- ==== hdata_time |