view doc/cmd-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 1ca49b349037
children
line wrap: on
line source

/** @page cmd-signals Command Signals
  @signals
  	@signal cmd-added
	@signal cmd-removed
  @endsignals

  @see cmds.h

  @signaldef cmd-added
  	@signalproto
void (*cmd_added)(const char *command, PurpleCmdPriority priority,
                  PurpleCmdFlag flag);
	@endsignalproto
	@signaldesc
	 Emitted when a new command is added.
	@param command   The new command.
	@param priority  The priority of the new command.
	@param flag      The command flags.
  @endsignaldef

  @signaldef cmd-removed
  	@signalproto
void (*cmd_removed)(const char *command);
	@endsignalproto
	@signaldesc
	 Emitted when a command is removed.
	@param command   The removed command.
  @endsignaldef
*/