diff options
Diffstat (limited to 'src/plugins/scripts/python/weechat-python.h')
-rw-r--r-- | src/plugins/scripts/python/weechat-python.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/scripts/python/weechat-python.h b/src/plugins/scripts/python/weechat-python.h index 62833e76d..16a659664 100644 --- a/src/plugins/scripts/python/weechat-python.h +++ b/src/plugins/scripts/python/weechat-python.h @@ -26,9 +26,10 @@ extern struct t_weechat_plugin *weechat_python_plugin; extern struct t_plugin_script *python_scripts; extern struct t_plugin_script *python_current_script; -extern char *python_current_script_filename; +extern const char *python_current_script_filename; -extern void * weechat_python_exec (struct t_plugin_script *script, - int ret_type, char *function, char **argv); +extern void *weechat_python_exec (struct t_plugin_script *script, + int ret_type, const char *function, + char **argv); #endif /* weechat-perl.h */ |