summaryrefslogtreecommitdiff
path: root/src/perl/common
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-12-07 02:55:15 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-12-07 02:55:15 +0000
commitd59dfd54b3c18a2fdb1bc74815083cfd88845a2c (patch)
tree9949847f0deb6040a816187eb3ce7b4971b1e1db /src/perl/common
parent2533e17bccc825d00ad89889f3b9169f2e59ef54 (diff)
downloadirssi-d59dfd54b3c18a2fdb1bc74815083cfd88845a2c.zip
parameters types for timeout_add() and input_add() changed from void* to SV*
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2208 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/common')
-rw-r--r--src/perl/common/Core.xs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/perl/common/Core.xs b/src/perl/common/Core.xs
index 3a3e6768..723533d7 100644
--- a/src/perl/common/Core.xs
+++ b/src/perl/common/Core.xs
@@ -101,9 +101,9 @@ int
timeout_add(msecs, func, data)
int msecs
SV *func
- void *data
+ SV *data
CODE:
- RETVAL = perl_timeout_add(msecs, func, ST(2));
+ RETVAL = perl_timeout_add(msecs, func, data);
OUTPUT:
RETVAL
@@ -133,9 +133,9 @@ input_add(source, condition, func, data)
int source
int condition
SV *func
- void *data
+ SV *data
CODE:
- RETVAL = perl_input_add(source, condition, func, ST(2));
+ RETVAL = perl_input_add(source, condition, func, data);
OUTPUT:
RETVAL