summaryrefslogtreecommitdiff
path: root/src/plugins/tcl/weechat-tcl-api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/tcl/weechat-tcl-api.h')
-rw-r--r--src/plugins/tcl/weechat-tcl-api.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/tcl/weechat-tcl-api.h b/src/plugins/tcl/weechat-tcl-api.h
index 5fd7d7ab4..758bb7f48 100644
--- a/src/plugins/tcl/weechat-tcl-api.h
+++ b/src/plugins/tcl/weechat-tcl-api.h
@@ -21,10 +21,12 @@
#ifndef WEECHAT_TCL_API_H
#define WEECHAT_TCL_API_H 1
-extern int weechat_tcl_api_buffer_input_data_cb (void *data,
+extern int weechat_tcl_api_buffer_input_data_cb (const void *pointer,
+ void *data,
struct t_gui_buffer *buffer,
const char *input_data);
-extern int weechat_tcl_api_buffer_close_cb (void *data,
+extern int weechat_tcl_api_buffer_close_cb (const void *pointer,
+ void *data,
struct t_gui_buffer *buffer);
extern void weechat_tcl_api_init (Tcl_Interp *interp);