1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 08:13:14 +02:00

doc/api: add difference between hook_url and hook_process_hashtable

This commit is contained in:
Sébastien Helleu
2025-03-09 09:31:36 +01:00
parent 68d452b559
commit 80bb54fed8
5 changed files with 21 additions and 0 deletions
+4
View File
@@ -10981,6 +10981,10 @@ _WeeChat ≥ 4.1.0._
URL transfer.
This function is similar to <<_hook_process_hashtable,hook_process_hashtable>>
with command "url:..." but it uses a thread instead of new process, making it
more lightweight and thus recommended for this usage.
Prototype:
[source,c]
+4
View File
@@ -11185,6 +11185,10 @@ _WeeChat ≥ 4.1.0._
Transfert d'URL.
Cette fonction est similaire à <<_hook_process_hashtable,hook_process_hashtable>>
avec la commande "url:..." mais elle utilise un thread au lieu d'un nouveau
processus, la rendant plus légère et donc recommandée pour cet usage.
Prototype :
[source,c]
+4
View File
@@ -11394,6 +11394,10 @@ _WeeChat ≥ 4.1.0._
URL transfer.
This function is similar to <<_hook_process_hashtable,hook_process_hashtable>>
with command "url:..." but it uses a thread instead of new process, making it
more lightweight and thus recommended for this usage.
Prototipo:
[source,c]
+4
View File
@@ -11127,6 +11127,10 @@ _WeeChat ≥ 4.1.0._
URL transfer.
This function is similar to <<_hook_process_hashtable,hook_process_hashtable>>
with command "url:..." but it uses a thread instead of new process, making it
more lightweight and thus recommended for this usage.
プロトタイプ:
[source,c]
+5
View File
@@ -10702,6 +10702,11 @@ _WeeChat ≥ 4.1.0._
URL трансфер.
// TRANSLATION MISSING
This function is similar to <<_hook_process_hashtable,hook_process_hashtable>>
with command "url:..." but it uses a thread instead of new process, making it
more lightweight and thus recommended for this usage.
Прототип:
[source,c]