summaryrefslogtreecommitdiff
path: root/src/plugins/python/weechat-python-api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/python/weechat-python-api.h')
-rw-r--r--src/plugins/python/weechat-python-api.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/python/weechat-python-api.h b/src/plugins/python/weechat-python-api.h
index 68b434b33..131a4661c 100644
--- a/src/plugins/python/weechat-python-api.h
+++ b/src/plugins/python/weechat-python-api.h
@@ -23,10 +23,12 @@
extern PyMethodDef weechat_python_funcs[];
-extern int weechat_python_api_buffer_input_data_cb (void *data,
+extern int weechat_python_api_buffer_input_data_cb (const void *pointer,
+ void *data,
struct t_gui_buffer *buffer,
const char *input_data);
-extern int weechat_python_api_buffer_close_cb (void *data,
+extern int weechat_python_api_buffer_close_cb (const void *pointer,
+ void *data,
struct t_gui_buffer *buffer);
#endif /* WEECHAT_PYTHON_API_H */