summaryrefslogtreecommitdiff
path: root/src/plugins/php/weechat-php.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-09-09 08:54:33 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-09-09 08:54:33 +0200
commitd9555cc5679eebbfa8d5d03c34a6f63e516c7a04 (patch)
treee647dfb2e0acbd1f1c493de96ed25550a0d2b9a1 /src/plugins/php/weechat-php.c
parent9fada89f96f7b702b8d4c9927badb7155a0c8adf (diff)
downloadweechat-d9555cc5679eebbfa8d5d03c34a6f63e516c7a04.zip
scripts: add functions config_enum and config_enum_default in scripting API (issue #1973)
Diffstat (limited to 'src/plugins/php/weechat-php.c')
-rw-r--r--src/plugins/php/weechat-php.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/php/weechat-php.c b/src/plugins/php/weechat-php.c
index 747768b51..ae7293528 100644
--- a/src/plugins/php/weechat-php.c
+++ b/src/plugins/php/weechat-php.c
@@ -164,6 +164,8 @@ const zend_function_entry weechat_functions[] = {
PHP_FE(weechat_config_string_default, arginfo_weechat_config_string_default)
PHP_FE(weechat_config_color, arginfo_weechat_config_color)
PHP_FE(weechat_config_color_default, arginfo_weechat_config_color_default)
+ PHP_FE(weechat_config_enum, arginfo_weechat_config_enum)
+ PHP_FE(weechat_config_enum_default, arginfo_weechat_config_enum_default)
PHP_FE(weechat_config_write_option, arginfo_weechat_config_write_option)
PHP_FE(weechat_config_write_line, arginfo_weechat_config_write_line)
PHP_FE(weechat_config_write, arginfo_weechat_config_write)