Mercurial > pidgin
diff libpurple/plugins/perl/perl-common.h @ 29018:6288bbd53f44
Pass around a va_list instead of a pointer to a va_list. Refs #7404
This gets rid of a compile warning for me on x86_64. I don't have
an i386 box to test on, but every bit of evidence I can find tells me
that it's totally fine to pass around a va_list. We do it in status.c
If this breaks compilation for you or you get a warning from perl-handlers.c
then pleaes let me know! Or just disapprove this
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 10 Feb 2010 09:04:15 +0000 |
parents | df9e569b8f1f |
children | 89120a5b285a 1e4781fb144b |
line wrap: on
line diff
--- a/libpurple/plugins/perl/perl-common.h Wed Feb 10 07:09:52 2010 +0000 +++ b/libpurple/plugins/perl/perl-common.h Wed Feb 10 09:04:15 2010 +0000 @@ -65,7 +65,7 @@ #endif void *purple_perl_data_from_sv(PurpleValue *value, SV *sv); -SV *purple_perl_sv_from_vargs(const PurpleValue *value, va_list *args, +SV *purple_perl_sv_from_vargs(const PurpleValue *value, va_list args, void ***copy_arg); SV *purple_perl_sv_from_fun(PurplePlugin *plugin, SV *callback); #endif /* _PURPLE_PERL_COMMON_H_ */