summaryrefslogtreecommitdiff
path: root/doc/fr/weechat_plugin_api.fr.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/fr/weechat_plugin_api.fr.asciidoc')
-rw-r--r--doc/fr/weechat_plugin_api.fr.asciidoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/fr/weechat_plugin_api.fr.asciidoc b/doc/fr/weechat_plugin_api.fr.asciidoc
index ec5a50b2a..1a6052238 100644
--- a/doc/fr/weechat_plugin_api.fr.asciidoc
+++ b/doc/fr/weechat_plugin_api.fr.asciidoc
@@ -3870,7 +3870,14 @@ my_free_value_cb (struct t_hashtable *hashtable, const void *key, void *value)
/* ... */
}
+void
+my_free_key_cb (struct t_hashtable *hashtable, void *key)
+{
+ /* ... */
+}
+
weechat_hashtable_set_pointer (hashtable, "callback_free_value", &my_free_value_cb);
+weechat_hashtable_set_pointer (hashtable, "callback_free_key", &my_free_key_cb);
----
[NOTE]