mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 20:36:38 +02:00
python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue #1220, closes #1389)
This commit is contained in:
@@ -61,6 +61,6 @@ extern struct t_hashtable *weechat_python_dict_to_hashtable (PyObject *dict,
|
||||
const char *type_values);
|
||||
extern void *weechat_python_exec (struct t_plugin_script *script,
|
||||
int ret_type, const char *function,
|
||||
char *format, void **argv);
|
||||
const char *format, void **argv);
|
||||
|
||||
#endif /* WEECHAT_PLUGIN_PYTHON_H */
|
||||
|
||||
Reference in New Issue
Block a user