Mercurial > pidgin.yaz
view doc/cipher-signals.dox @ 13106:a0a4b44239e8
[gaim-migrate @ 15468]
I was reading the gettext man page and it pointed out that it should be typed as const char *, but it's char * to avoid warnings in code predating ANSI C. So, for the heck of it, I changed added a cast in internal.h. As it turns out, there was a lot of code that relied on this. In the interest of type safety, I've fixed all the warnings. I feel this improved a number of function signatures (in terms of typing clarity). Flame me if you object.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 02 Feb 2006 21:34:43 +0000 |
parents | 1ec93dd2f359 |
children | 8cf53d7a0887 |
line wrap: on
line source
/** @page cipher-signals Cipher Signals @signals @signal cipher-added @signal cipher-removed @endsignals <hr> @signaldef cipher-added @signalproto void (*cipher_added)(GaimCipher *cipher); @endsignalproto @signaldesc Emitted when a cipher is added. @param cipher The cipher that was added. @endsignaldef @signaldef cipher-removed @signalproto void (*cipher_removed)(GaimCipher *cipher); @endsignalproto @signaldesc Emitted when a cipher is removed. @param cipher The cipher that was removed. @endsignaldef */ // vim: syntax=c tw=75 et