pidgin: 6f45eed9: A patch from Martijn van Beers to handle...

rlaager at pidgin.im rlaager at pidgin.im
Sun Jun 8 22:30:43 EDT 2008


-----------------------------------------------------------------
Revision: 6f45eed99c94f8e63e46ad382a70c0c4e266b833
Ancestor: 2072edddff2333b97848681a9a464e9722b5f059
Author: martijn at eekeek.org
Date: 2008-06-09T02:28:39
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/6f45eed99c94f8e63e46ad382a70c0c4e266b833

Modified files:
        libpurple/plugins/perl/perl-handlers.c

ChangeLog: 

A patch from Martijn van Beers to handle outgoing PURPLE_TYPE_SUBTYPE
values in the Perl bindings.
Fixes #3853

-------------- next part --------------
============================================================
--- libpurple/plugins/perl/perl-handlers.c	f67ee5b1917358b93bad48e2f88e15e06d72e9ba
+++ libpurple/plugins/perl/perl-handlers.c	fb326839b77e845bf979ee134461364d20505721
@@ -383,6 +383,9 @@ perl_signal_cb(va_list args, void *data)
 				case PURPLE_TYPE_BOXED:
 					*((void **)copy_args[i]) = (void *)SvIV(sv_args[i]);
 					break;
+				case PURPLE_TYPE_SUBTYPE:
+					*((void **)copy_args[i]) = purple_perl_ref_object(sv_args[i]);
+					break;
 
 				default:
 					break;


More information about the Commits mailing list