1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

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
This commit is contained in:
Timo Sirainen 2001-12-07 02:55:15 +00:00 committed by cras
parent 2533e17bcc
commit d59dfd54b3

View File

@ -101,9 +101,9 @@ int
timeout_add(msecs, func, data) timeout_add(msecs, func, data)
int msecs int msecs
SV *func SV *func
void *data SV *data
CODE: CODE:
RETVAL = perl_timeout_add(msecs, func, ST(2)); RETVAL = perl_timeout_add(msecs, func, data);
OUTPUT: OUTPUT:
RETVAL RETVAL
@ -133,9 +133,9 @@ input_add(source, condition, func, data)
int source int source
int condition int condition
SV *func SV *func
void *data SV *data
CODE: CODE:
RETVAL = perl_input_add(source, condition, func, ST(2)); RETVAL = perl_input_add(source, condition, func, data);
OUTPUT: OUTPUT:
RETVAL RETVAL