diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-06-03 10:56:51 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-06-03 10:56:51 +0200 |
commit | 3a53257032a0df8aa5f3b31f14a8e6f4e1f07595 (patch) | |
tree | 23d16979c6ee884220afbe148b32981338f7f690 /src/plugins/scripts/python/weechat-python.h | |
parent | 2b1d7df86c745367cfdf4de13629790197b523b3 (diff) | |
download | weechat-3a53257032a0df8aa5f3b31f14a8e6f4e1f07595.zip |
Add "const" keyword for some "char *" function arguments (core and plugins API)
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 */ |