summaryrefslogtreecommitdiff
path: root/src/plugins/perl/weechat-perl-api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/perl/weechat-perl-api.h')
-rw-r--r--src/plugins/perl/weechat-perl-api.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/perl/weechat-perl-api.h b/src/plugins/perl/weechat-perl-api.h
index 48d06f9d4..9d8a72c79 100644
--- a/src/plugins/perl/weechat-perl-api.h
+++ b/src/plugins/perl/weechat-perl-api.h
@@ -20,10 +20,12 @@
#ifndef WEECHAT_PERL_API_H
#define WEECHAT_PERL_API_H 1
-extern int weechat_perl_api_buffer_input_data_cb (void *data,
+extern int weechat_perl_api_buffer_input_data_cb (const void *pointer,
+ void *data,
struct t_gui_buffer *buffer,
const char *input_data);
-extern int weechat_perl_api_buffer_close_cb (void *data,
+extern int weechat_perl_api_buffer_close_cb (const void *pointer,
+ void *data,
struct t_gui_buffer *buffer);
extern void weechat_perl_api_init (pTHX);