Mercurial > pidgin.yaz
annotate 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 |
rev | line source |
---|---|
12053 | 1 /** @page cipher-signals Cipher Signals |
2 | |
3 @signals | |
4 @signal cipher-added | |
5 @signal cipher-removed | |
6 @endsignals | |
7 | |
8 <hr> | |
9 | |
10 @signaldef cipher-added | |
11 @signalproto | |
12 void (*cipher_added)(GaimCipher *cipher); | |
13 @endsignalproto | |
14 @signaldesc | |
15 Emitted when a cipher is added. | |
16 @param cipher The cipher that was added. | |
17 @endsignaldef | |
18 | |
19 @signaldef cipher-removed | |
20 @signalproto | |
21 void (*cipher_removed)(GaimCipher *cipher); | |
22 @endsignalproto | |
23 @signaldesc | |
24 Emitted when a cipher is removed. | |
25 @param cipher The cipher that was removed. | |
26 @endsignaldef | |
27 | |
28 */ | |
29 // vim: syntax=c tw=75 et |