Mercurial > pidgin.yaz
view doc/plugin-signals.dox @ 29928:cead5610c89a
Add a cast to silence this warning.
perl-handlers.c: In function ¡Æperl_signal_cb¡Ç:
perl-handlers.c:306: warning: passing argument 2 of ¡Æpurple_perl_sv_from_vargs¡Ç from incompatible pointer type
perl-common.h:69: note: expected ¡Æstruct __va_list_tag (*)[1]¡Ç but argument is of type ¡Æstruct __va_list_tag *¡Ç
This may not be the most elegant solution, but va_args aren't really elegant,
and this solution is at least easy.
Thanks very much to the expert bug reporting and research done by
dharding!
Fixes #11431 (that ticket has a lot of information about this change)
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 04 Mar 2010 21:25:50 +0000 |
parents | e0613cf8c493 |
children |
line wrap: on
line source
/** @page plugin-signals Plugin Signals @signals @signal plugin-load @signal plugin-unload @endsignals @see plugin.h <hr> @signaldef plugin-load @signalproto void (*plugin_load)(PurplePlugin *plugin); @endsignalproto @signaldesc Emitted when a plugin is loaded. @param plugin The plugin that was loaded. @endsignaldef @signaldef plugin-unload @signalproto void (*plugin_unload)(PurplePlugin *plugin); @endsignalproto @signaldesc Emitted when a plugin is unloaded. @param plugin The plugin that was unloaded. @endsignaldef */ // vim: syntax=c.doxygen tw=75 et