changeset 6918:d4b53b3d20eb

[gaim-migrate @ 7465] The data parameter on Gaim::signal_connect and Gaim::add_timeout_handler in perl is now optional. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 23 Sep 2003 22:14:57 +0000
parents 85e39ec7f4cd
children 1aa771990188
files plugins/perl/common/Gaim.xs
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/perl/common/Gaim.xs	Tue Sep 23 21:51:01 2003 +0000
+++ b/plugins/perl/common/Gaim.xs	Tue Sep 23 22:14:57 2003 +0000
@@ -9,7 +9,7 @@
 INCLUDE: const-xs.inc
 
 void
-timeout_add(plugin, seconds, callback, data)
+timeout_add(plugin, seconds, callback, data = 0)
 	Gaim::Plugin plugin
 	int seconds
 	SV *callback
@@ -18,7 +18,7 @@
 	gaim_perl_timeout_add(plugin, seconds, callback, data);
 
 void
-signal_connect(instance, signal, plugin, callback, data)
+signal_connect(instance, signal, plugin, callback, data = 0)
 	void *instance
 	const char *signal
 	Gaim::Plugin plugin