mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 04:16:38 +02:00
doc/api: replace format "%lx" by "%p" in examples
This commit is contained in:
@@ -14789,7 +14789,7 @@ C example:
|
||||
|
||||
[source,c]
|
||||
----
|
||||
weechat_printf (NULL, "plugin pointer of my buffer: %lx",
|
||||
weechat_printf (NULL, "plugin pointer of my buffer: %p",
|
||||
weechat_buffer_get_pointer (my_buffer, "plugin"));
|
||||
----
|
||||
|
||||
@@ -15265,7 +15265,7 @@ C example:
|
||||
[source,c]
|
||||
----
|
||||
weechat_printf (NULL,
|
||||
"window displaying core buffer: %lx",
|
||||
"window displaying core buffer: %p",
|
||||
weechat_window_search_with_buffer (weechat_buffer_search_main ()));
|
||||
----
|
||||
|
||||
@@ -15402,7 +15402,7 @@ C example:
|
||||
[source,c]
|
||||
----
|
||||
weechat_printf (NULL,
|
||||
"buffer displayed in current window: %lx",
|
||||
"buffer displayed in current window: %p",
|
||||
weechat_window_get_pointer (weechat_current_window (), "buffer"));
|
||||
----
|
||||
|
||||
@@ -19270,7 +19270,7 @@ C example:
|
||||
----
|
||||
struct t_hdata *hdata = weechat_hdata_get ("buffer");
|
||||
struct t_gui_buffer *buffer = weechat_buffer_search_main ();
|
||||
weechat_printf (NULL, "lines = %lx", weechat_hdata_pointer (hdata, buffer, "lines"));
|
||||
weechat_printf (NULL, "lines = %p", weechat_hdata_pointer (hdata, buffer, "lines"));
|
||||
----
|
||||
|
||||
Script (Python):
|
||||
|
||||
@@ -15106,7 +15106,7 @@ Exemple en C :
|
||||
|
||||
[source,c]
|
||||
----
|
||||
weechat_printf (NULL, "pointeur vers l'extension de mon tampon : %lx",
|
||||
weechat_printf (NULL, "pointeur vers l'extension de mon tampon : %p",
|
||||
weechat_buffer_get_pointer (mon_tampon, "plugin"));
|
||||
----
|
||||
|
||||
@@ -15597,7 +15597,7 @@ Exemple en C :
|
||||
[source,c]
|
||||
----
|
||||
weechat_printf (NULL,
|
||||
"fenêtre affichant le tampon core : %lx",
|
||||
"fenêtre affichant le tampon core : %p",
|
||||
weechat_window_search_with_buffer (weechat_buffer_search_main ()));
|
||||
----
|
||||
|
||||
@@ -15742,7 +15742,7 @@ Exemple en C :
|
||||
[source,c]
|
||||
----
|
||||
weechat_printf (NULL,
|
||||
"tampon affiché dans la fenêtre courante : %lx",
|
||||
"tampon affiché dans la fenêtre courante : %p",
|
||||
weechat_window_get_pointer (weechat_current_window (), "buffer"));
|
||||
----
|
||||
|
||||
@@ -19673,7 +19673,7 @@ Exemple en C :
|
||||
----
|
||||
struct t_hdata *hdata = weechat_hdata_get ("buffer");
|
||||
struct t_gui_buffer *buffer = weechat_buffer_search_main ();
|
||||
weechat_printf (NULL, "lines = %lx", weechat_hdata_pointer (hdata, buffer, "lines"));
|
||||
weechat_printf (NULL, "lines = %p", weechat_hdata_pointer (hdata, buffer, "lines"));
|
||||
----
|
||||
|
||||
Script (Python) :
|
||||
|
||||
@@ -15502,7 +15502,7 @@ Esempio in C:
|
||||
|
||||
[source,c]
|
||||
----
|
||||
weechat_printf (NULL, "plugin pointer of my buffer: %lx",
|
||||
weechat_printf (NULL, "plugin pointer of my buffer: %p",
|
||||
weechat_buffer_get_pointer (my_buffer, "plugin"));
|
||||
----
|
||||
|
||||
@@ -16019,7 +16019,7 @@ Esempio in C:
|
||||
[source,c]
|
||||
----
|
||||
weechat_printf (NULL,
|
||||
"window displaying core buffer: %lx",
|
||||
"window displaying core buffer: %p",
|
||||
weechat_window_search_with_buffer (weechat_buffer_search_main ()));
|
||||
----
|
||||
|
||||
@@ -16159,7 +16159,7 @@ Esempio in C:
|
||||
[source,c]
|
||||
----
|
||||
weechat_printf (NULL,
|
||||
"buffer displayed in current window: %lx",
|
||||
"buffer displayed in current window: %p",
|
||||
weechat_window_get_pointer (weechat_current_window (), "buffer"));
|
||||
----
|
||||
|
||||
@@ -20175,7 +20175,7 @@ Esempio in C:
|
||||
----
|
||||
struct t_hdata *hdata = weechat_hdata_get ("buffer");
|
||||
struct t_gui_buffer *buffer = weechat_buffer_search_main ();
|
||||
weechat_printf (NULL, "lines = %lx", weechat_hdata_pointer (hdata, buffer, "lines"));
|
||||
weechat_printf (NULL, "lines = %p", weechat_hdata_pointer (hdata, buffer, "lines"));
|
||||
----
|
||||
|
||||
Script (Python):
|
||||
|
||||
@@ -15034,7 +15034,7 @@ C 言語での使用例:
|
||||
|
||||
[source,c]
|
||||
----
|
||||
weechat_printf (NULL, "plugin pointer of my buffer: %lx",
|
||||
weechat_printf (NULL, "plugin pointer of my buffer: %p",
|
||||
weechat_buffer_get_pointer (my_buffer, "plugin"));
|
||||
----
|
||||
|
||||
@@ -15517,7 +15517,7 @@ C 言語での使用例:
|
||||
[source,c]
|
||||
----
|
||||
weechat_printf (NULL,
|
||||
"window displaying core buffer: %lx",
|
||||
"window displaying core buffer: %p",
|
||||
weechat_window_search_with_buffer (weechat_buffer_search_main ()));
|
||||
----
|
||||
|
||||
@@ -15654,7 +15654,7 @@ C 言語での使用例:
|
||||
[source,c]
|
||||
----
|
||||
weechat_printf (NULL,
|
||||
"buffer displayed in current window: %lx",
|
||||
"buffer displayed in current window: %p",
|
||||
weechat_window_get_pointer (weechat_current_window (), "buffer"));
|
||||
----
|
||||
|
||||
@@ -19554,7 +19554,7 @@ C 言語での使用例:
|
||||
----
|
||||
struct t_hdata *hdata = weechat_hdata_get ("buffer");
|
||||
struct t_gui_buffer *buffer = weechat_buffer_search_main ();
|
||||
weechat_printf (NULL, "lines = %lx", weechat_hdata_pointer (hdata, buffer, "lines"));
|
||||
weechat_printf (NULL, "lines = %p", weechat_hdata_pointer (hdata, buffer, "lines"));
|
||||
----
|
||||
|
||||
スクリプト (Python) での使用例:
|
||||
|
||||
@@ -14374,7 +14374,7 @@ C пример:
|
||||
|
||||
[source,c]
|
||||
----
|
||||
weechat_printf (NULL, "показивач на додатак мог бафера: %lx",
|
||||
weechat_printf (NULL, "показивач на додатак мог бафера: %p",
|
||||
weechat_buffer_get_pointer (my_buffer, "plugin"));
|
||||
----
|
||||
|
||||
@@ -14850,7 +14850,7 @@ C пример:
|
||||
[source,c]
|
||||
----
|
||||
weechat_printf (NULL,
|
||||
"прозор који приказује core бафер: %lx",
|
||||
"прозор који приказује core бафер: %p",
|
||||
weechat_window_search_with_buffer (weechat_buffer_search_main ()));
|
||||
----
|
||||
|
||||
@@ -14983,7 +14983,7 @@ C пример:
|
||||
[source,c]
|
||||
----
|
||||
weechat_printf (NULL,
|
||||
"бафер који се приказује у текућем прозору: %lx",
|
||||
"бафер који се приказује у текућем прозору: %p",
|
||||
weechat_window_get_pointer (weechat_current_window (), "buffer"));
|
||||
----
|
||||
|
||||
@@ -18759,7 +18759,7 @@ C пример:
|
||||
----
|
||||
struct t_hdata *hdata = weechat_hdata_get ("buffer");
|
||||
struct t_gui_buffer *buffer = weechat_buffer_search_main ();
|
||||
weechat_printf (NULL, "lines = %lx", weechat_hdata_pointer (hdata, buffer, "lines"));
|
||||
weechat_printf (NULL, "lines = %p", weechat_hdata_pointer (hdata, buffer, "lines"));
|
||||
----
|
||||
|
||||
Скрипта (Python):
|
||||
|
||||
Reference in New Issue
Block a user