diff options
Diffstat (limited to 'doc/it/weechat_plugin_api.it.adoc')
-rw-r--r-- | doc/it/weechat_plugin_api.it.adoc | 6 |
1 files changed, 3 insertions, 3 deletions
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 |