summaryrefslogtreecommitdiff
path: root/src/perl/perl-sources.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-10-14 09:07:26 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-10-14 09:07:26 +0000
commit80dd9a15ca66ac340426bc256d8d778baefd19bd (patch)
tree096695d819a0ff11515e489c2672811c89e496bc /src/perl/perl-sources.h
parentb0ac3b83e7cf63e9d9b2864e8990239b5801d527 (diff)
downloadirssi-80dd9a15ca66ac340426bc256d8d778baefd19bd.zip
Irssi::timeout_add() and Irssi::input_add() now accepts any type of variable
as data instead of just string. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1825 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/perl-sources.h')
-rw-r--r--src/perl/perl-sources.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/perl/perl-sources.h b/src/perl/perl-sources.h
index a04c4d80..e61004db 100644
--- a/src/perl/perl-sources.h
+++ b/src/perl/perl-sources.h
@@ -1,9 +1,8 @@
#ifndef __PERL_SOURCES_H
#define __PERL_SOURCES_H
-int perl_timeout_add(int msecs, const char *func, const char *data);
-int perl_input_add(int source, int condition,
- const char *func, const char *data);
+int perl_timeout_add(int msecs, const char *func, SV *data);
+int perl_input_add(int source, int condition, const char *func, SV *data);
void perl_source_remove(int tag);
/* remove all sources used by package */