From d59dfd54b3c18a2fdb1bc74815083cfd88845a2c Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 7 Dec 2001 02:55:15 +0000 Subject: [PATCH] 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 --- src/perl/common/Core.xs | 8 ++++---- 1 file 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