summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2016-03-21 18:11:21 +0100
committerSébastien Helleu <flashcode@flashtux.org>2016-03-21 18:11:21 +0100
commitcf6aca1619c32422a43fa3d82e0674f6b7b49fe9 (patch)
tree65392ef12eab877f544fe306fe0abb98214ddebd /doc
parent6d764b64c50adb19309a9de14bfeafac648ab47a (diff)
downloadweechat-cf6aca1619c32422a43fa3d82e0674f6b7b49fe9.zip
core: add pointer in some callbacks (closes #406)
This pointer is the first argument received by callbacks, and the existing argument "data" is now automatically freed by WeeChat when the object containing the callback is removed. With this new pointer, the linked list of callbacks in scripts has been removed. This will improve speed of scripts (using a lot of hooks), reduce memory used by scripts and reduce time to unload scripts. Following functions are affected in the C API: * exec_on_files * config_new * config_new_section * config_new_option * hook_command * hook_command_run * hook_timer * hook_fd * hook_process * hook_process_hashtable * hook_connect * hook_print * hook_signal * hook_hsignal * hook_config * hook_completion * hook_modifier * hook_info * hook_info_hashtable * hook_infolist * hook_hdata * hook_focus * unhook_all_plugin * buffer_new * bar_item_new * upgrade_new * upgrade_read
Diffstat (limited to 'doc')
-rw-r--r--doc/de/autogen/plugin_api/hdata.asciidoc125
-rw-r--r--doc/en/autogen/plugin_api/hdata.asciidoc125
-rw-r--r--doc/en/weechat_dev.en.asciidoc1
-rw-r--r--doc/fr/autogen/plugin_api/hdata.asciidoc125
-rw-r--r--doc/fr/weechat_dev.fr.asciidoc1
-rw-r--r--doc/it/autogen/plugin_api/hdata.asciidoc125
-rw-r--r--doc/ja/autogen/plugin_api/hdata.asciidoc125
-rw-r--r--doc/ja/weechat_dev.ja.asciidoc1
-rw-r--r--doc/pl/autogen/plugin_api/hdata.asciidoc125
9 files changed, 78 insertions, 675 deletions
diff --git a/doc/de/autogen/plugin_api/hdata.asciidoc b/doc/de/autogen/plugin_api/hdata.asciidoc
index 6ea804573..369a1fe8d 100644
--- a/doc/de/autogen/plugin_api/hdata.asciidoc
+++ b/doc/de/autogen/plugin_api/hdata.asciidoc
@@ -2,21 +2,6 @@
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
-* [[hdata_guile_callback]]<<hdata_guile_callback,'guile_callback'>>: Callback eines Skripts
-** Erweiterung: guile
-** Variablen:
-*** 'script' (pointer, hdata: "guile_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "guile_callback")
-*** 'next_callback' (pointer, hdata: "guile_callback")
* [[hdata_guile_script]]<<hdata_guile_script,'guile_script'>>: Liste der Skripten
** Erweiterung: guile
** Variablen:
@@ -29,7 +14,6 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "guile_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "guile_script")
*** 'next_script' (pointer, hdata: "guile_script")
@@ -229,21 +213,6 @@
** Listen:
*** 'irc_servers'
*** 'last_irc_server'
-* [[hdata_javascript_callback]]<<hdata_javascript_callback,'javascript_callback'>>: Callback eines Skripts
-** Erweiterung: javascript
-** Variablen:
-*** 'script' (pointer, hdata: "javascript_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "javascript_callback")
-*** 'next_callback' (pointer, hdata: "javascript_callback")
* [[hdata_javascript_script]]<<hdata_javascript_script,'javascript_script'>>: Liste der Skripten
** Erweiterung: javascript
** Variablen:
@@ -256,28 +225,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "javascript_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "javascript_script")
*** 'next_script' (pointer, hdata: "javascript_script")
** Listen:
*** 'last_script'
*** 'scripts'
-* [[hdata_lua_callback]]<<hdata_lua_callback,'lua_callback'>>: Callback eines Skripts
-** Erweiterung: lua
-** Variablen:
-*** 'script' (pointer, hdata: "lua_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "lua_callback")
-*** 'next_callback' (pointer, hdata: "lua_callback")
* [[hdata_lua_script]]<<hdata_lua_script,'lua_script'>>: Liste der Skripten
** Erweiterung: lua
** Variablen:
@@ -290,28 +243,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "lua_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "lua_script")
*** 'next_script' (pointer, hdata: "lua_script")
** Listen:
*** 'last_script'
*** 'scripts'
-* [[hdata_perl_callback]]<<hdata_perl_callback,'perl_callback'>>: Callback eines Skripts
-** Erweiterung: perl
-** Variablen:
-*** 'script' (pointer, hdata: "perl_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "perl_callback")
-*** 'next_callback' (pointer, hdata: "perl_callback")
* [[hdata_perl_script]]<<hdata_perl_script,'perl_script'>>: Liste der Skripten
** Erweiterung: perl
** Variablen:
@@ -324,28 +261,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "perl_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "perl_script")
*** 'next_script' (pointer, hdata: "perl_script")
** Listen:
*** 'last_script'
*** 'scripts'
-* [[hdata_python_callback]]<<hdata_python_callback,'python_callback'>>: Callback eines Skripts
-** Erweiterung: python
-** Variablen:
-*** 'script' (pointer, hdata: "python_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "python_callback")
-*** 'next_callback' (pointer, hdata: "python_callback")
* [[hdata_python_script]]<<hdata_python_script,'python_script'>>: Liste der Skripten
** Erweiterung: python
** Variablen:
@@ -358,28 +279,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "python_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "python_script")
*** 'next_script' (pointer, hdata: "python_script")
** Listen:
*** 'last_script'
*** 'scripts'
-* [[hdata_ruby_callback]]<<hdata_ruby_callback,'ruby_callback'>>: Callback eines Skripts
-** Erweiterung: ruby
-** Variablen:
-*** 'script' (pointer, hdata: "ruby_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "ruby_callback")
-*** 'next_callback' (pointer, hdata: "ruby_callback")
* [[hdata_ruby_script]]<<hdata_ruby_script,'ruby_script'>>: Liste der Skripten
** Erweiterung: ruby
** Variablen:
@@ -392,7 +297,6 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "ruby_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "ruby_script")
*** 'next_script' (pointer, hdata: "ruby_script")
@@ -428,21 +332,6 @@
** Listen:
*** 'last_script_repo'
*** 'scripts_repo'
-* [[hdata_tcl_callback]]<<hdata_tcl_callback,'tcl_callback'>>: Callback eines Skripts
-** Erweiterung: tcl
-** Variablen:
-*** 'script' (pointer, hdata: "tcl_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "tcl_callback")
-*** 'next_callback' (pointer, hdata: "tcl_callback")
* [[hdata_tcl_script]]<<hdata_tcl_script,'tcl_script'>>: Liste der Skripten
** Erweiterung: tcl
** Variablen:
@@ -455,7 +344,6 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "tcl_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "tcl_script")
*** 'next_script' (pointer, hdata: "tcl_script")
@@ -487,6 +375,7 @@
*** 'plugin' (pointer, hdata: "plugin")
*** 'name' (string)
*** 'build_callback' (pointer)
+*** 'build_callback_pointer' (pointer)
*** 'build_callback_data' (pointer)
*** 'prev_item' (pointer, hdata: "bar_item")
*** 'next_item' (pointer, hdata: "bar_item")
@@ -540,6 +429,7 @@
*** 'clear' (integer)
*** 'filter' (integer)
*** 'close_callback' (pointer)
+*** 'close_callback_pointer' (pointer)
*** 'close_callback_data' (pointer)
*** 'closing' (integer)
*** 'title' (string)
@@ -558,9 +448,11 @@
*** 'nicklist_nicks_count' (integer)
*** 'nicklist_visible_count' (integer)
*** 'nickcmp_callback' (pointer)
+*** 'nickcmp_callback_pointer' (pointer)
*** 'nickcmp_callback_data' (pointer)
*** 'input' (integer)
*** 'input_callback' (pointer)
+*** 'input_callback_pointer' (pointer)
*** 'input_callback_data' (pointer)
*** 'input_get_unknown_commands' (integer)
*** 'input_buffer' (string)
@@ -644,6 +536,7 @@
*** 'filename' (string)
*** 'file' (pointer)
*** 'callback_reload' (pointer)
+*** 'callback_reload_pointer' (pointer)
*** 'callback_reload_data' (pointer)
*** 'sections' (pointer, hdata: "config_section")
*** 'last_section' (pointer, hdata: "config_section")
@@ -668,10 +561,13 @@
*** 'value' (pointer)
*** 'null_value_allowed' (integer)
*** 'callback_check_value' (pointer)
+*** 'callback_check_value_pointer' (pointer)
*** 'callback_check_value_data' (pointer)
*** 'callback_change' (pointer)
+*** 'callback_change_pointer' (pointer)
*** 'callback_change_data' (pointer)
*** 'callback_delete' (pointer)
+*** 'callback_delete_pointer' (pointer)
*** 'callback_delete_data' (pointer)
*** 'loaded' (integer)
*** 'prev_option' (pointer, hdata: "config_option")
@@ -684,14 +580,19 @@
*** 'user_can_add_options' (integer)
*** 'user_can_delete_options' (integer)
*** 'callback_read' (pointer)
+*** 'callback_read_pointer' (pointer)
*** 'callback_read_data' (pointer)
*** 'callback_write' (pointer)
+*** 'callback_write_pointer' (pointer)
*** 'callback_write_data' (pointer)
*** 'callback_write_default' (pointer)
+*** 'callback_write_default_pointer' (pointer)
*** 'callback_write_default_data' (pointer)
*** 'callback_create_option' (pointer)
+*** 'callback_create_option_pointer' (pointer)
*** 'callback_create_option_data' (pointer)
*** 'callback_delete_option' (pointer)
+*** 'callback_delete_option_pointer' (pointer)
*** 'callback_delete_option_data' (pointer)
*** 'options' (pointer, hdata: "config_option")
*** 'last_option' (pointer, hdata: "config_option")
diff --git a/doc/en/autogen/plugin_api/hdata.asciidoc b/doc/en/autogen/plugin_api/hdata.asciidoc
index 904f694ee..0850501a6 100644
--- a/doc/en/autogen/plugin_api/hdata.asciidoc
+++ b/doc/en/autogen/plugin_api/hdata.asciidoc
@@ -2,21 +2,6 @@
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
-* [[hdata_guile_callback]]<<hdata_guile_callback,'guile_callback'>>: callback of a script
-** plugin: guile
-** variables:
-*** 'script' (pointer, hdata: "guile_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "guile_callback")
-*** 'next_callback' (pointer, hdata: "guile_callback")
* [[hdata_guile_script]]<<hdata_guile_script,'guile_script'>>: list of scripts
** plugin: guile
** variables:
@@ -29,7 +14,6 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "guile_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "guile_script")
*** 'next_script' (pointer, hdata: "guile_script")
@@ -229,21 +213,6 @@
** lists:
*** 'irc_servers'
*** 'last_irc_server'
-* [[hdata_javascript_callback]]<<hdata_javascript_callback,'javascript_callback'>>: callback of a script
-** plugin: javascript
-** variables:
-*** 'script' (pointer, hdata: "javascript_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "javascript_callback")
-*** 'next_callback' (pointer, hdata: "javascript_callback")
* [[hdata_javascript_script]]<<hdata_javascript_script,'javascript_script'>>: list of scripts
** plugin: javascript
** variables:
@@ -256,28 +225,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "javascript_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "javascript_script")
*** 'next_script' (pointer, hdata: "javascript_script")
** lists:
*** 'last_script'
*** 'scripts'
-* [[hdata_lua_callback]]<<hdata_lua_callback,'lua_callback'>>: callback of a script
-** plugin: lua
-** variables:
-*** 'script' (pointer, hdata: "lua_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "lua_callback")
-*** 'next_callback' (pointer, hdata: "lua_callback")
* [[hdata_lua_script]]<<hdata_lua_script,'lua_script'>>: list of scripts
** plugin: lua
** variables:
@@ -290,28 +243,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "lua_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "lua_script")
*** 'next_script' (pointer, hdata: "lua_script")
** lists:
*** 'last_script'
*** 'scripts'
-* [[hdata_perl_callback]]<<hdata_perl_callback,'perl_callback'>>: callback of a script
-** plugin: perl
-** variables:
-*** 'script' (pointer, hdata: "perl_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "perl_callback")
-*** 'next_callback' (pointer, hdata: "perl_callback")
* [[hdata_perl_script]]<<hdata_perl_script,'perl_script'>>: list of scripts
** plugin: perl
** variables:
@@ -324,28 +261,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "perl_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "perl_script")
*** 'next_script' (pointer, hdata: "perl_script")
** lists:
*** 'last_script'
*** 'scripts'
-* [[hdata_python_callback]]<<hdata_python_callback,'python_callback'>>: callback of a script
-** plugin: python
-** variables:
-*** 'script' (pointer, hdata: "python_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "python_callback")
-*** 'next_callback' (pointer, hdata: "python_callback")
* [[hdata_python_script]]<<hdata_python_script,'python_script'>>: list of scripts
** plugin: python
** variables:
@@ -358,28 +279,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "python_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "python_script")
*** 'next_script' (pointer, hdata: "python_script")
** lists:
*** 'last_script'
*** 'scripts'
-* [[hdata_ruby_callback]]<<hdata_ruby_callback,'ruby_callback'>>: callback of a script
-** plugin: ruby
-** variables:
-*** 'script' (pointer, hdata: "ruby_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "ruby_callback")
-*** 'next_callback' (pointer, hdata: "ruby_callback")
* [[hdata_ruby_script]]<<hdata_ruby_script,'ruby_script'>>: list of scripts
** plugin: ruby
** variables:
@@ -392,7 +297,6 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "ruby_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "ruby_script")
*** 'next_script' (pointer, hdata: "ruby_script")
@@ -428,21 +332,6 @@
** lists:
*** 'last_script_repo'
*** 'scripts_repo'
-* [[hdata_tcl_callback]]<<hdata_tcl_callback,'tcl_callback'>>: callback of a script
-** plugin: tcl
-** variables:
-*** 'script' (pointer, hdata: "tcl_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "tcl_callback")
-*** 'next_callback' (pointer, hdata: "tcl_callback")
* [[hdata_tcl_script]]<<hdata_tcl_script,'tcl_script'>>: list of scripts
** plugin: tcl
** variables:
@@ -455,7 +344,6 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "tcl_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "tcl_script")
*** 'next_script' (pointer, hdata: "tcl_script")
@@ -487,6 +375,7 @@
*** 'plugin' (pointer, hdata: "plugin")
*** 'name' (string)
*** 'build_callback' (pointer)
+*** 'build_callback_pointer' (pointer)
*** 'build_callback_data' (pointer)
*** 'prev_item' (pointer, hdata: "bar_item")
*** 'next_item' (pointer, hdata: "bar_item")
@@ -540,6 +429,7 @@
*** 'clear' (integer)
*** 'filter' (integer)
*** 'close_callback' (pointer)
+*** 'close_callback_pointer' (pointer)
*** 'close_callback_data' (pointer)
*** 'closing' (integer)
*** 'title' (string)
@@ -558,9 +448,11 @@
*** 'nicklist_nicks_count' (integer)
*** 'nicklist_visible_count' (integer)
*** 'nickcmp_callback' (pointer)
+*** 'nickcmp_callback_pointer' (pointer)
*** 'nickcmp_callback_data' (pointer)
*** 'input' (integer)
*** 'input_callback' (pointer)
+*** 'input_callback_pointer' (pointer)
*** 'input_callback_data' (pointer)
*** 'input_get_unknown_commands' (integer)
*** 'input_buffer' (string)
@@ -644,6 +536,7 @@
*** 'filename' (string)
*** 'file' (pointer)
*** 'callback_reload' (pointer)
+*** 'callback_reload_pointer' (pointer)
*** 'callback_reload_data' (pointer)
*** 'sections' (pointer, hdata: "config_section")
*** 'last_section' (pointer, hdata: "config_section")
@@ -668,10 +561,13 @@
*** 'value' (pointer)
*** 'null_value_allowed' (integer)
*** 'callback_check_value' (pointer)
+*** 'callback_check_value_pointer' (pointer)
*** 'callback_check_value_data' (pointer)
*** 'callback_change' (pointer)
+*** 'callback_change_pointer' (pointer)
*** 'callback_change_data' (pointer)
*** 'callback_delete' (pointer)
+*** 'callback_delete_pointer' (pointer)
*** 'callback_delete_data' (pointer)
*** 'loaded' (integer)
*** 'prev_option' (pointer, hdata: "config_option")
@@ -684,14 +580,19 @@
*** 'user_can_add_options' (integer)
*** 'user_can_delete_options' (integer)
*** 'callback_read' (pointer)
+*** 'callback_read_pointer' (pointer)
*** 'callback_read_data' (pointer)
*** 'callback_write' (pointer)
+*** 'callback_write_pointer' (pointer)
*** 'callback_write_data' (pointer)
*** 'callback_write_default' (pointer)
+*** 'callback_write_default_pointer' (pointer)
*** 'callback_write_default_data' (pointer)
*** 'callback_create_option' (pointer)
+*** 'callback_create_option_pointer' (pointer)
*** 'callback_create_option_data' (pointer)
*** 'callback_delete_option' (pointer)
+*** 'callback_delete_option_pointer' (pointer)
*** 'callback_delete_option_data' (pointer)
*** 'options' (pointer, hdata: "config_option")
*** 'last_option' (pointer, hdata: "config_option")
diff --git a/doc/en/weechat_dev.en.asciidoc b/doc/en/weechat_dev.en.asciidoc
index d9d7207a5..45e832d2e 100644
--- a/doc/en/weechat_dev.en.asciidoc
+++ b/doc/en/weechat_dev.en.asciidoc
@@ -176,7 +176,6 @@ WeeChat "core" is located in following directories:
| plugin-config.c | Plugin configuration options (file plugins.conf)
| plugin-script.c | Common functions used by script plugins
| plugin-script-api.c | Script API functions: wrappers around some plugin API functions
-| plugin-script-callback.c | Callback management for scripts
| weechat-plugin.h | Header designed to be distributed with WeeChat plugins, in order to compile them
| alias/ | Alias plugin
| alias.c | Main alias functions
diff --git a/doc/fr/autogen/plugin_api/hdata.asciidoc b/doc/fr/autogen/plugin_api/hdata.asciidoc
index fcabef755..16e23bd84 100644
--- a/doc/fr/autogen/plugin_api/hdata.asciidoc
+++ b/doc/fr/autogen/plugin_api/hdata.asciidoc
@@ -2,21 +2,6 @@
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
-* [[hdata_guile_callback]]<<hdata_guile_callback,'guile_callback'>>: callback d'un script
-** extension: guile
-** variables:
-*** 'script' (pointer, hdata: "guile_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "guile_callback")
-*** 'next_callback' (pointer, hdata: "guile_callback")
* [[hdata_guile_script]]<<hdata_guile_script,'guile_script'>>: liste des scripts
** extension: guile
** variables:
@@ -29,7 +14,6 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "guile_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "guile_script")
*** 'next_script' (pointer, hdata: "guile_script")
@@ -229,21 +213,6 @@
** listes:
*** 'irc_servers'
*** 'last_irc_server'
-* [[hdata_javascript_callback]]<<hdata_javascript_callback,'javascript_callback'>>: callback d'un script
-** extension: javascript
-** variables:
-*** 'script' (pointer, hdata: "javascript_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "javascript_callback")
-*** 'next_callback' (pointer, hdata: "javascript_callback")
* [[hdata_javascript_script]]<<hdata_javascript_script,'javascript_script'>>: liste des scripts
** extension: javascript
** variables:
@@ -256,28 +225,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "javascript_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "javascript_script")
*** 'next_script' (pointer, hdata: "javascript_script")
** listes:
*** 'last_script'
*** 'scripts'
-* [[hdata_lua_callback]]<<hdata_lua_callback,'lua_callback'>>: callback d'un script
-** extension: lua
-** variables:
-*** 'script' (pointer, hdata: "lua_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "lua_callback")
-*** 'next_callback' (pointer, hdata: "lua_callback")
* [[hdata_lua_script]]<<hdata_lua_script,'lua_script'>>: liste des scripts
** extension: lua
** variables:
@@ -290,28 +243,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "lua_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "lua_script")
*** 'next_script' (pointer, hdata: "lua_script")
** listes:
*** 'last_script'
*** 'scripts'
-* [[hdata_perl_callback]]<<hdata_perl_callback,'perl_callback'>>: callback d'un script
-** extension: perl
-** variables:
-*** 'script' (pointer, hdata: "perl_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "perl_callback")
-*** 'next_callback' (pointer, hdata: "perl_callback")
* [[hdata_perl_script]]<<hdata_perl_script,'perl_script'>>: liste des scripts
** extension: perl
** variables:
@@ -324,28 +261,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "perl_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "perl_script")
*** 'next_script' (pointer, hdata: "perl_script")
** listes:
*** 'last_script'
*** 'scripts'
-* [[hdata_python_callback]]<<hdata_python_callback,'python_callback'>>: callback d'un script
-** extension: python
-** variables:
-*** 'script' (pointer, hdata: "python_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "python_callback")
-*** 'next_callback' (pointer, hdata: "python_callback")
* [[hdata_python_script]]<<hdata_python_script,'python_script'>>: liste des scripts
** extension: python
** variables:
@@ -358,28 +279,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "python_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "python_script")
*** 'next_script' (pointer, hdata: "python_script")
** listes:
*** 'last_script'
*** 'scripts'
-* [[hdata_ruby_callback]]<<hdata_ruby_callback,'ruby_callback'>>: callback d'un script
-** extension: ruby
-** variables:
-*** 'script' (pointer, hdata: "ruby_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "ruby_callback")
-*** 'next_callback' (pointer, hdata: "ruby_callback")
* [[hdata_ruby_script]]<<hdata_ruby_script,'ruby_script'>>: liste des scripts
** extension: ruby
** variables:
@@ -392,7 +297,6 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "ruby_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "ruby_script")
*** 'next_script' (pointer, hdata: "ruby_script")
@@ -428,21 +332,6 @@
** listes:
*** 'last_script_repo'
*** 'scripts_repo'
-* [[hdata_tcl_callback]]<<hdata_tcl_callback,'tcl_callback'>>: callback d'un script
-** extension: tcl
-** variables:
-*** 'script' (pointer, hdata: "tcl_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "tcl_callback")
-*** 'next_callback' (pointer, hdata: "tcl_callback")
* [[hdata_tcl_script]]<<hdata_tcl_script,'tcl_script'>>: liste des scripts
** extension: tcl
** variables:
@@ -455,7 +344,6 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "tcl_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "tcl_script")
*** 'next_script' (pointer, hdata: "tcl_script")
@@ -487,6 +375,7 @@
*** 'plugin' (pointer, hdata: "plugin")
*** 'name' (string)
*** 'build_callback' (pointer)
+*** 'build_callback_pointer' (pointer)
*** 'build_callback_data' (pointer)
*** 'prev_item' (pointer, hdata: "bar_item")
*** 'next_item' (pointer, hdata: "bar_item")
@@ -540,6 +429,7 @@
*** 'clear' (integer)
*** 'filter' (integer)
*** 'close_callback' (pointer)
+*** 'close_callback_pointer' (pointer)
*** 'close_callback_data' (pointer)
*** 'closing' (integer)
*** 'title' (string)
@@ -558,9 +448,11 @@
*** 'nicklist_nicks_count' (integer)
*** 'nicklist_visible_count' (integer)
*** 'nickcmp_callback' (pointer)
+*** 'nickcmp_callback_pointer' (pointer)
*** 'nickcmp_callback_data' (pointer)
*** 'input' (integer)
*** 'input_callback' (pointer)
+*** 'input_callback_pointer' (pointer)
*** 'input_callback_data' (pointer)
*** 'input_get_unknown_commands' (integer)
*** 'input_buffer' (string)
@@ -644,6 +536,7 @@
*** 'filename' (string)
*** 'file' (pointer)
*** 'callback_reload' (pointer)
+*** 'callback_reload_pointer' (pointer)
*** 'callback_reload_data' (pointer)
*** 'sections' (pointer, hdata: "config_section")
*** 'last_section' (pointer, hdata: "config_section")
@@ -668,10 +561,13 @@
*** 'value' (pointer)
*** 'null_value_allowed' (integer)
*** 'callback_check_value' (pointer)
+*** 'callback_check_value_pointer' (pointer)
*** 'callback_check_value_data' (pointer)
*** 'callback_change' (pointer)
+*** 'callback_change_pointer' (pointer)
*** 'callback_change_data' (pointer)
*** 'callback_delete' (pointer)
+*** 'callback_delete_pointer' (pointer)
*** 'callback_delete_data' (pointer)
*** 'loaded' (integer)
*** 'prev_option' (pointer, hdata: "config_option")
@@ -684,14 +580,19 @@
*** 'user_can_add_options' (integer)
*** 'user_can_delete_options' (integer)
*** 'callback_read' (pointer)
+*** 'callback_read_pointer' (pointer)
*** 'callback_read_data' (pointer)
*** 'callback_write' (pointer)
+*** 'callback_write_pointer' (pointer)
*** 'callback_write_data' (pointer)
*** 'callback_write_default' (pointer)
+*** 'callback_write_default_pointer' (pointer)
*** 'callback_write_default_data' (pointer)
*** 'callback_create_option' (pointer)
+*** 'callback_create_option_pointer' (pointer)
*** 'callback_create_option_data' (pointer)
*** 'callback_delete_option' (pointer)
+*** 'callback_delete_option_pointer' (pointer)
*** 'callback_delete_option_data' (pointer)
*** 'options' (pointer, hdata: "config_option")
*** 'last_option' (pointer, hdata: "config_option")
diff --git a/doc/fr/weechat_dev.fr.asciidoc b/doc/fr/weechat_dev.fr.asciidoc
index 2bcb4617a..fa4486ddc 100644
--- a/doc/fr/weechat_dev.fr.asciidoc
+++ b/doc/fr/weechat_dev.fr.asciidoc
@@ -177,7 +177,6 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
| plugin-config.c | Options de configuration des extensions (fichier plugins.conf)
| plugin-script.c | Fonctions communes utilisés par les extensions pour les scripts
| plugin-script-api.c | Fonctions pour l'API script : enveloppes autour de quelques fonctions de l'API extension
-| plugin-script-callback.c | Gestion des "callbacks" pour les scripts
| weechat-plugin.h | En-tête destiné à être distribué avec les extensions WeeChat, pour les compiler
| alias/ | Extension Alias
| alias.c | Fonctions principales pour les alias
diff --git a/doc/it/autogen/plugin_api/hdata.asciidoc b/doc/it/autogen/plugin_api/hdata.asciidoc
index c49a21e7d..05366191f 100644
--- a/doc/it/autogen/plugin_api/hdata.asciidoc
+++ b/doc/it/autogen/plugin_api/hdata.asciidoc
@@ -2,21 +2,6 @@
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
-* [[hdata_guile_callback]]<<hdata_guile_callback,'guile_callback'>>: callback di uno script
-** plugin: guile
-** variables:
-*** 'script' (pointer, hdata: "guile_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "guile_callback")
-*** 'next_callback' (pointer, hdata: "guile_callback")
* [[hdata_guile_script]]<<hdata_guile_script,'guile_script'>>: elenco degli script
** plugin: guile
** variables:
@@ -29,7 +14,6 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "guile_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "guile_script")
*** 'next_script' (pointer, hdata: "guile_script")
@@ -229,21 +213,6 @@
** lists:
*** 'irc_servers'
*** 'last_irc_server'
-* [[hdata_javascript_callback]]<<hdata_javascript_callback,'javascript_callback'>>: callback di uno script
-** plugin: javascript
-** variables:
-*** 'script' (pointer, hdata: "javascript_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "javascript_callback")
-*** 'next_callback' (pointer, hdata: "javascript_callback")
* [[hdata_javascript_script]]<<hdata_javascript_script,'javascript_script'>>: elenco degli script
** plugin: javascript
** variables:
@@ -256,28 +225,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "javascript_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "javascript_script")
*** 'next_script' (pointer, hdata: "javascript_script")
** lists:
*** 'last_script'
*** 'scripts'
-* [[hdata_lua_callback]]<<hdata_lua_callback,'lua_callback'>>: callback di uno script
-** plugin: lua
-** variables:
-*** 'script' (pointer, hdata: "lua_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "lua_callback")
-*** 'next_callback' (pointer, hdata: "lua_callback")
* [[hdata_lua_script]]<<hdata_lua_script,'lua_script'>>: elenco degli script
** plugin: lua
** variables:
@@ -290,28 +243,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "lua_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "lua_script")
*** 'next_script' (pointer, hdata: "lua_script")
** lists:
*** 'last_script'
*** 'scripts'
-* [[hdata_perl_callback]]<<hdata_perl_callback,'perl_callback'>>: callback di uno script
-** plugin: perl
-** variables:
-*** 'script' (pointer, hdata: "perl_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "perl_callback")
-*** 'next_callback' (pointer, hdata: "perl_callback")
* [[hdata_perl_script]]<<hdata_perl_script,'perl_script'>>: elenco degli script
** plugin: perl
** variables:
@@ -324,28 +261,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "perl_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "perl_script")
*** 'next_script' (pointer, hdata: "perl_script")
** lists:
*** 'last_script'
*** 'scripts'
-* [[hdata_python_callback]]<<hdata_python_callback,'python_callback'>>: callback di uno script
-** plugin: python
-** variables:
-*** 'script' (pointer, hdata: "python_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "python_callback")
-*** 'next_callback' (pointer, hdata: "python_callback")
* [[hdata_python_script]]<<hdata_python_script,'python_script'>>: elenco degli script
** plugin: python
** variables:
@@ -358,28 +279,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "python_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "python_script")
*** 'next_script' (pointer, hdata: "python_script")
** lists:
*** 'last_script'
*** 'scripts'
-* [[hdata_ruby_callback]]<<hdata_ruby_callback,'ruby_callback'>>: callback di uno script
-** plugin: ruby
-** variables:
-*** 'script' (pointer, hdata: "ruby_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "ruby_callback")
-*** 'next_callback' (pointer, hdata: "ruby_callback")
* [[hdata_ruby_script]]<<hdata_ruby_script,'ruby_script'>>: elenco degli script
** plugin: ruby
** variables:
@@ -392,7 +297,6 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "ruby_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "ruby_script")
*** 'next_script' (pointer, hdata: "ruby_script")
@@ -428,21 +332,6 @@
** lists:
*** 'last_script_repo'
*** 'scripts_repo'
-* [[hdata_tcl_callback]]<<hdata_tcl_callback,'tcl_callback'>>: callback di uno script
-** plugin: tcl
-** variables:
-*** 'script' (pointer, hdata: "tcl_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "tcl_callback")
-*** 'next_callback' (pointer, hdata: "tcl_callback")
* [[hdata_tcl_script]]<<hdata_tcl_script,'tcl_script'>>: elenco degli script
** plugin: tcl
** variables:
@@ -455,7 +344,6 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "tcl_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "tcl_script")
*** 'next_script' (pointer, hdata: "tcl_script")
@@ -487,6 +375,7 @@
*** 'plugin' (pointer, hdata: "plugin")
*** 'name' (string)
*** 'build_callback' (pointer)
+*** 'build_callback_pointer' (pointer)
*** 'build_callback_data' (pointer)
*** 'prev_item' (pointer, hdata: "bar_item")
*** 'next_item' (pointer, hdata: "bar_item")
@@ -540,6 +429,7 @@
*** 'clear' (integer)
*** 'filter' (integer)
*** 'close_callback' (pointer)
+*** 'close_callback_pointer' (pointer)
*** 'close_callback_data' (pointer)
*** 'closing' (integer)
*** 'title' (string)
@@ -558,9 +448,11 @@
*** 'nicklist_nicks_count' (integer)
*** 'nicklist_visible_count' (integer)
*** 'nickcmp_callback' (pointer)
+*** 'nickcmp_callback_pointer' (pointer)
*** 'nickcmp_callback_data' (pointer)
*** 'input' (integer)
*** 'input_callback' (pointer)
+*** 'input_callback_pointer' (pointer)
*** 'input_callback_data' (pointer)
*** 'input_get_unknown_commands' (integer)
*** 'input_buffer' (string)
@@ -644,6 +536,7 @@
*** 'filename' (string)
*** 'file' (pointer)
*** 'callback_reload' (pointer)
+*** 'callback_reload_pointer' (pointer)
*** 'callback_reload_data' (pointer)
*** 'sections' (pointer, hdata: "config_section")
*** 'last_section' (pointer, hdata: "config_section")
@@ -668,10 +561,13 @@
*** 'value' (pointer)
*** 'null_value_allowed' (integer)
*** 'callback_check_value' (pointer)
+*** 'callback_check_value_pointer' (pointer)
*** 'callback_check_value_data' (pointer)
*** 'callback_change' (pointer)
+*** 'callback_change_pointer' (pointer)
*** 'callback_change_data' (pointer)
*** 'callback_delete' (pointer)
+*** 'callback_delete_pointer' (pointer)
*** 'callback_delete_data' (pointer)
*** 'loaded' (integer)
*** 'prev_option' (pointer, hdata: "config_option")
@@ -684,14 +580,19 @@
*** 'user_can_add_options' (integer)
*** 'user_can_delete_options' (integer)
*** 'callback_read' (pointer)
+*** 'callback_read_pointer' (pointer)
*** 'callback_read_data' (pointer)
*** 'callback_write' (pointer)
+*** 'callback_write_pointer' (pointer)
*** 'callback_write_data' (pointer)
*** 'callback_write_default' (pointer)
+*** 'callback_write_default_pointer' (pointer)
*** 'callback_write_default_data' (pointer)
*** 'callback_create_option' (pointer)
+*** 'callback_create_option_pointer' (pointer)
*** 'callback_create_option_data' (pointer)
*** 'callback_delete_option' (pointer)
+*** 'callback_delete_option_pointer' (pointer)
*** 'callback_delete_option_data' (pointer)
*** 'options' (pointer, hdata: "config_option")
*** 'last_option' (pointer, hdata: "config_option")
diff --git a/doc/ja/autogen/plugin_api/hdata.asciidoc b/doc/ja/autogen/plugin_api/hdata.asciidoc
index 9873e30e9..791eac688 100644
--- a/doc/ja/autogen/plugin_api/hdata.asciidoc
+++ b/doc/ja/autogen/plugin_api/hdata.asciidoc
@@ -2,21 +2,6 @@
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
-* [[hdata_guile_callback]]<<hdata_guile_callback,'guile_callback'>>: スクリプトのコールバック
-** プラグイン: guile
-** 変数:
-*** 'script' (pointer, hdata: "guile_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "guile_callback")
-*** 'next_callback' (pointer, hdata: "guile_callback")
* [[hdata_guile_script]]<<hdata_guile_script,'guile_script'>>: スクリプトのリスト
** プラグイン: guile
** 変数:
@@ -29,7 +14,6 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "guile_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "guile_script")
*** 'next_script' (pointer, hdata: "guile_script")
@@ -229,21 +213,6 @@
** リスト:
*** 'irc_servers'
*** 'last_irc_server'
-* [[hdata_javascript_callback]]<<hdata_javascript_callback,'javascript_callback'>>: スクリプトのコールバック
-** プラグイン: javascript
-** 変数:
-*** 'script' (pointer, hdata: "javascript_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "javascript_callback")
-*** 'next_callback' (pointer, hdata: "javascript_callback")
* [[hdata_javascript_script]]<<hdata_javascript_script,'javascript_script'>>: スクリプトのリスト
** プラグイン: javascript
** 変数:
@@ -256,28 +225,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "javascript_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "javascript_script")
*** 'next_script' (pointer, hdata: "javascript_script")
** リスト:
*** 'last_script'
*** 'scripts'
-* [[hdata_lua_callback]]<<hdata_lua_callback,'lua_callback'>>: スクリプトのコールバック
-** プラグイン: lua
-** 変数:
-*** 'script' (pointer, hdata: "lua_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "lua_callback")
-*** 'next_callback' (pointer, hdata: "lua_callback")
* [[hdata_lua_script]]<<hdata_lua_script,'lua_script'>>: スクリプトのリスト
** プラグイン: lua
** 変数:
@@ -290,28 +243,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "lua_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "lua_script")
*** 'next_script' (pointer, hdata: "lua_script")
** リスト:
*** 'last_script'
*** 'scripts'
-* [[hdata_perl_callback]]<<hdata_perl_callback,'perl_callback'>>: スクリプトのコールバック
-** プラグイン: perl
-** 変数:
-*** 'script' (pointer, hdata: "perl_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "perl_callback")
-*** 'next_callback' (pointer, hdata: "perl_callback")
* [[hdata_perl_script]]<<hdata_perl_script,'perl_script'>>: スクリプトのリスト
** プラグイン: perl
** 変数:
@@ -324,28 +261,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "perl_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "perl_script")
*** 'next_script' (pointer, hdata: "perl_script")
** リスト:
*** 'last_script'
*** 'scripts'
-* [[hdata_python_callback]]<<hdata_python_callback,'python_callback'>>: スクリプトのコールバック
-** プラグイン: python
-** 変数:
-*** 'script' (pointer, hdata: "python_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "python_callback")
-*** 'next_callback' (pointer, hdata: "python_callback")
* [[hdata_python_script]]<<hdata_python_script,'python_script'>>: スクリプトのリスト
** プラグイン: python
** 変数:
@@ -358,28 +279,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "python_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "python_script")
*** 'next_script' (pointer, hdata: "python_script")
** リスト:
*** 'last_script'
*** 'scripts'
-* [[hdata_ruby_callback]]<<hdata_ruby_callback,'ruby_callback'>>: スクリプトのコールバック
-** プラグイン: ruby
-** 変数:
-*** 'script' (pointer, hdata: "ruby_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "ruby_callback")
-*** 'next_callback' (pointer, hdata: "ruby_callback")
* [[hdata_ruby_script]]<<hdata_ruby_script,'ruby_script'>>: スクリプトのリスト
** プラグイン: ruby
** 変数:
@@ -392,7 +297,6 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "ruby_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "ruby_script")
*** 'next_script' (pointer, hdata: "ruby_script")
@@ -428,21 +332,6 @@
** リスト:
*** 'last_script_repo'
*** 'scripts_repo'
-* [[hdata_tcl_callback]]<<hdata_tcl_callback,'tcl_callback'>>: スクリプトのコールバック
-** プラグイン: tcl
-** 変数:
-*** 'script' (pointer, hdata: "tcl_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "tcl_callback")
-*** 'next_callback' (pointer, hdata: "tcl_callback")
* [[hdata_tcl_script]]<<hdata_tcl_script,'tcl_script'>>: スクリプトのリスト
** プラグイン: tcl
** 変数:
@@ -455,7 +344,6 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "tcl_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "tcl_script")
*** 'next_script' (pointer, hdata: "tcl_script")
@@ -487,6 +375,7 @@
*** 'plugin' (pointer, hdata: "plugin")
*** 'name' (string)
*** 'build_callback' (pointer)
+*** 'build_callback_pointer' (pointer)
*** 'build_callback_data' (pointer)
*** 'prev_item' (pointer, hdata: "bar_item")
*** 'next_item' (pointer, hdata: "bar_item")
@@ -540,6 +429,7 @@
*** 'clear' (integer)
*** 'filter' (integer)
*** 'close_callback' (pointer)
+*** 'close_callback_pointer' (pointer)
*** 'close_callback_data' (pointer)
*** 'closing' (integer)
*** 'title' (string)
@@ -558,9 +448,11 @@
*** 'nicklist_nicks_count' (integer)
*** 'nicklist_visible_count' (integer)
*** 'nickcmp_callback' (pointer)
+*** 'nickcmp_callback_pointer' (pointer)
*** 'nickcmp_callback_data' (pointer)
*** 'input' (integer)
*** 'input_callback' (pointer)
+*** 'input_callback_pointer' (pointer)
*** 'input_callback_data' (pointer)
*** 'input_get_unknown_commands' (integer)
*** 'input_buffer' (string)
@@ -644,6 +536,7 @@
*** 'filename' (string)
*** 'file' (pointer)
*** 'callback_reload' (pointer)
+*** 'callback_reload_pointer' (pointer)
*** 'callback_reload_data' (pointer)
*** 'sections' (pointer, hdata: "config_section")
*** 'last_section' (pointer, hdata: "config_section")
@@ -668,10 +561,13 @@
*** 'value' (pointer)
*** 'null_value_allowed' (integer)
*** 'callback_check_value' (pointer)
+*** 'callback_check_value_pointer' (pointer)
*** 'callback_check_value_data' (pointer)
*** 'callback_change' (pointer)
+*** 'callback_change_pointer' (pointer)
*** 'callback_change_data' (pointer)
*** 'callback_delete' (pointer)
+*** 'callback_delete_pointer' (pointer)
*** 'callback_delete_data' (pointer)
*** 'loaded' (integer)
*** 'prev_option' (pointer, hdata: "config_option")
@@ -684,14 +580,19 @@
*** 'user_can_add_options' (integer)
*** 'user_can_delete_options' (integer)
*** 'callback_read' (pointer)
+*** 'callback_read_pointer' (pointer)
*** 'callback_read_data' (pointer)
*** 'callback_write' (pointer)
+*** 'callback_write_pointer' (pointer)
*** 'callback_write_data' (pointer)
*** 'callback_write_default' (pointer)
+*** 'callback_write_default_pointer' (pointer)
*** 'callback_write_default_data' (pointer)
*** 'callback_create_option' (pointer)
+*** 'callback_create_option_pointer' (pointer)
*** 'callback_create_option_data' (pointer)
*** 'callback_delete_option' (pointer)
+*** 'callback_delete_option_pointer' (pointer)
*** 'callback_delete_option_data' (pointer)
*** 'options' (pointer, hdata: "config_option")
*** 'last_option' (pointer, hdata: "config_option")
diff --git a/doc/ja/weechat_dev.ja.asciidoc b/doc/ja/weechat_dev.ja.asciidoc
index f9aabc04e..adc203ecd 100644
--- a/doc/ja/weechat_dev.ja.asciidoc
+++ b/doc/ja/weechat_dev.ja.asciidoc
@@ -181,7 +181,6 @@ WeeChat "core" は以下のディレクトリに配置されています:
| plugin-config.c | プラグイン設定オプション (plugins.conf ファイル)
| plugin-script.c | スクリプトプラグインの共用関数
| plugin-script-api.c | スクリプト API 関数: 一部のプラグイン API 関数のラッパー
-| plugin-script-callback.c | スクリプト用のコールバック管理
| weechat-plugin.h | WeeChat プラグインと一緒に配布されるヘッダファイル、プラグインのコンパイルに必要
| alias/ | alias プラグイン
| alias.c | alias の主要関数
diff --git a/doc/pl/autogen/plugin_api/hdata.asciidoc b/doc/pl/autogen/plugin_api/hdata.asciidoc
index c90a4311c..20487fb8e 100644
--- a/doc/pl/autogen/plugin_api/hdata.asciidoc
+++ b/doc/pl/autogen/plugin_api/hdata.asciidoc
@@ -2,21 +2,6 @@
// This file is auto-generated by script docgen.py.
// DO NOT EDIT BY HAND!
//
-* [[hdata_guile_callback]]<<hdata_guile_callback,'guile_callback'>>: callback skryptu
-** wtyczka: guile
-** zmienne:
-*** 'script' (pointer, hdata: "guile_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "guile_callback")
-*** 'next_callback' (pointer, hdata: "guile_callback")
* [[hdata_guile_script]]<<hdata_guile_script,'guile_script'>>: lista skryptów
** wtyczka: guile
** zmienne:
@@ -29,7 +14,6 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "guile_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "guile_script")
*** 'next_script' (pointer, hdata: "guile_script")
@@ -229,21 +213,6 @@
** listy:
*** 'irc_servers'
*** 'last_irc_server'
-* [[hdata_javascript_callback]]<<hdata_javascript_callback,'javascript_callback'>>: callback skryptu
-** wtyczka: javascript
-** zmienne:
-*** 'script' (pointer, hdata: "javascript_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "javascript_callback")
-*** 'next_callback' (pointer, hdata: "javascript_callback")
* [[hdata_javascript_script]]<<hdata_javascript_script,'javascript_script'>>: lista skryptów
** wtyczka: javascript
** zmienne:
@@ -256,28 +225,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "javascript_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "javascript_script")
*** 'next_script' (pointer, hdata: "javascript_script")
** listy:
*** 'last_script'
*** 'scripts'
-* [[hdata_lua_callback]]<<hdata_lua_callback,'lua_callback'>>: callback skryptu
-** wtyczka: lua
-** zmienne:
-*** 'script' (pointer, hdata: "lua_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "lua_callback")
-*** 'next_callback' (pointer, hdata: "lua_callback")
* [[hdata_lua_script]]<<hdata_lua_script,'lua_script'>>: lista skryptów
** wtyczka: lua
** zmienne:
@@ -290,28 +243,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "lua_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "lua_script")
*** 'next_script' (pointer, hdata: "lua_script")
** listy:
*** 'last_script'
*** 'scripts'
-* [[hdata_perl_callback]]<<hdata_perl_callback,'perl_callback'>>: callback skryptu
-** wtyczka: perl
-** zmienne:
-*** 'script' (pointer, hdata: "perl_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "perl_callback")
-*** 'next_callback' (pointer, hdata: "perl_callback")
* [[hdata_perl_script]]<<hdata_perl_script,'perl_script'>>: lista skryptów
** wtyczka: perl
** zmienne:
@@ -324,28 +261,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "perl_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "perl_script")
*** 'next_script' (pointer, hdata: "perl_script")
** listy:
*** 'last_script'
*** 'scripts'
-* [[hdata_python_callback]]<<hdata_python_callback,'python_callback'>>: callback skryptu
-** wtyczka: python
-** zmienne:
-*** 'script' (pointer, hdata: "python_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "python_callback")
-*** 'next_callback' (pointer, hdata: "python_callback")
* [[hdata_python_script]]<<hdata_python_script,'python_script'>>: lista skryptów
** wtyczka: python
** zmienne:
@@ -358,28 +279,12 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "python_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "python_script")
*** 'next_script' (pointer, hdata: "python_script")
** listy:
*** 'last_script'
*** 'scripts'
-* [[hdata_ruby_callback]]<<hdata_ruby_callback,'ruby_callback'>>: callback skryptu
-** wtyczka: ruby
-** zmienne:
-*** 'script' (pointer, hdata: "ruby_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "ruby_callback")
-*** 'next_callback' (pointer, hdata: "ruby_callback")
* [[hdata_ruby_script]]<<hdata_ruby_script,'ruby_script'>>: lista skryptów
** wtyczka: ruby
** zmienne:
@@ -392,7 +297,6 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "ruby_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "ruby_script")
*** 'next_script' (pointer, hdata: "ruby_script")
@@ -428,21 +332,6 @@
** listy:
*** 'last_script_repo'
*** 'scripts_repo'
-* [[hdata_tcl_callback]]<<hdata_tcl_callback,'tcl_callback'>>: callback skryptu
-** wtyczka: tcl
-** zmienne:
-*** 'script' (pointer, hdata: "tcl_script")
-*** 'function' (string)
-*** 'data' (string)
-*** 'config_file' (pointer, hdata: "config_file")
-*** 'config_section' (pointer, hdata: "config_section")
-*** 'config_option' (pointer, hdata: "config_option")
-*** 'hook' (pointer)
-*** 'buffer' (pointer, hdata: "buffer")
-*** 'bar_item' (pointer, hdata: "bar_item")
-*** 'upgrade_file' (pointer)
-*** 'prev_callback' (pointer, hdata: "tcl_callback")
-*** 'next_callback' (pointer, hdata: "tcl_callback")
* [[hdata_tcl_script]]<<hdata_tcl_script,'tcl_script'>>: lista skryptów
** wtyczka: tcl
** zmienne:
@@ -455,7 +344,6 @@
*** 'description' (string)
*** 'shutdown_func' (string)
*** 'charset' (string)
-*** 'callbacks' (pointer, hdata: "tcl_callback")
*** 'unloading' (integer)
*** 'prev_script' (pointer, hdata: "tcl_script")
*** 'next_script' (pointer, hdata: "tcl_script")
@@ -487,6 +375,7 @@
*** 'plugin' (pointer, hdata: "plugin")
*** 'name' (string)
*** 'build_callback' (pointer)
+*** 'build_callback_pointer' (pointer)
*** 'build_callback_data' (pointer)
*** 'prev_item' (pointer, hdata: "bar_item")
*** 'next_item' (pointer, hdata: "bar_item")
@@ -540,6 +429,7 @@
*** 'clear' (integer)
*** 'filter' (integer)
*** 'close_callback' (pointer)
+*** 'close_callback_pointer' (pointer)
*** 'close_callback_data' (pointer)
*** 'closing' (integer)
*** 'title' (string)
@@ -558,9 +448,11 @@
*** 'nicklist_nicks_count' (integer)
*** 'nicklist_visible_count' (integer)
*** 'nickcmp_callback' (pointer)
+*** 'nickcmp_callback_pointer' (pointer)
*** 'nickcmp_callback_data' (pointer)
*** 'input' (integer)
*** 'input_callback' (pointer)
+*** 'input_callback_pointer' (pointer)
*** 'input_callback_data' (pointer)
*** 'input_get_unknown_commands' (integer)
*** 'input_buffer' (string)
@@ -644,6 +536,7 @@
*** 'filename' (string)
*** 'file' (pointer)
*** 'callback_reload' (pointer)
+*** 'callback_reload_pointer' (pointer)
*** 'callback_reload_data' (pointer)
*** 'sections' (pointer, hdata: "config_section")
*** 'last_section' (pointer, hdata: "config_section")
@@ -668,10 +561,13 @@
*** 'value' (pointer)
*** 'null_value_allowed' (integer)
*** 'callback_check_value' (pointer)
+*** 'callback_check_value_pointer' (pointer)
*** 'callback_check_value_data' (pointer)
*** 'callback_change' (pointer)
+*** 'callback_change_pointer' (pointer)
*** 'callback_change_data' (pointer)
*** 'callback_delete' (pointer)
+*** 'callback_delete_pointer' (pointer)
*** 'callback_delete_data' (pointer)
*** 'loaded' (integer)
*** 'prev_option' (pointer, hdata: "config_option")
@@ -684,14 +580,19 @@
*** 'user_can_add_options' (integer)
*** 'user_can_delete_options' (integer)
*** 'callback_read' (pointer)
+*** 'callback_read_pointer' (pointer)
*** 'callback_read_data' (pointer)
*** 'callback_write' (pointer)
+*** 'callback_write_pointer' (pointer)
*** 'callback_write_data' (pointer)
*** 'callback_write_default' (pointer)
+*** 'callback_write_default_pointer' (pointer)
*** 'callback_write_default_data' (pointer)
*** 'callback_create_option' (pointer)
+*** 'callback_create_option_pointer' (pointer)
*** 'callback_create_option_data' (pointer)
*** 'callback_delete_option' (pointer)
+*** 'callback_delete_option_pointer' (pointer)
*** 'callback_delete_option_data' (pointer)
*** 'options' (pointer, hdata: "config_option")
*** 'last_option' (pointer, hdata: "config_option")