changeset 6552:65dc4d34f280

[gaim-migrate @ 7074] We like it when data can be passed through callbacks. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 21 Aug 2003 08:52:55 +0000
parents 12343e2aaab1
children 9e4fa4853cfe
files plugins/perl/common/Gaim.xs
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/perl/common/Gaim.xs	Thu Aug 21 08:51:37 2003 +0000
+++ b/plugins/perl/common/Gaim.xs	Thu Aug 21 08:52:55 2003 +0000
@@ -5,13 +5,13 @@
 PROTOTYPES: ENABLE
 
 void
-timeout_add(plugin, seconds, func, arg)
+timeout_add(plugin, seconds, func, data)
 	Gaim::Plugin plugin
 	int seconds
 	const char *func
-	void *arg
+	SV *data
 CODE:
-	gaim_perl_timeout_add(plugin, seconds, func, arg);
+	gaim_perl_timeout_add(plugin, seconds, func, data);
 
 void
 debug(level, category, string)
@@ -38,7 +38,7 @@
 	const char *signal
 	Gaim::Plugin plugin
 	const char *func
-	void *data
+	SV *data
 CODE:
 	gaim_perl_signal_connect(plugin, instance, signal, func, data);