Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
29017:f521dd7c75b5 | 29018:6288bbd53f44 |
---|---|
63 gboolean purple_perl_value_from_sv(PurpleValue *value, SV *sv); | 63 gboolean purple_perl_value_from_sv(PurpleValue *value, SV *sv); |
64 SV *purple_perl_sv_from_value(const PurpleValue *value); | 64 SV *purple_perl_sv_from_value(const PurpleValue *value); |
65 #endif | 65 #endif |
66 | 66 |
67 void *purple_perl_data_from_sv(PurpleValue *value, SV *sv); | 67 void *purple_perl_data_from_sv(PurpleValue *value, SV *sv); |
68 SV *purple_perl_sv_from_vargs(const PurpleValue *value, va_list *args, | 68 SV *purple_perl_sv_from_vargs(const PurpleValue *value, va_list args, |
69 void ***copy_arg); | 69 void ***copy_arg); |
70 SV *purple_perl_sv_from_fun(PurplePlugin *plugin, SV *callback); | 70 SV *purple_perl_sv_from_fun(PurplePlugin *plugin, SV *callback); |
71 #endif /* _PURPLE_PERL_COMMON_H_ */ | 71 #endif /* _PURPLE_PERL_COMMON_H_ */ |