Mercurial > pidgin.yaz
diff src/prefs.h @ 5944:158196b2db19
[gaim-migrate @ 6385]
Added #ifdef __cplusplus lines so that things will link right with C++.
Also added some doxygen comment blocks that didn't previously exist.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 23 Jun 2003 06:40:13 +0000 |
parents | b61520e71679 |
children | 4bc050b1af34 |
line wrap: on
line diff
--- a/src/prefs.h Mon Jun 23 02:00:15 2003 +0000 +++ b/src/prefs.h Mon Jun 23 06:40:13 2003 +0000 @@ -36,6 +36,7 @@ GAIM_PREF_INT, GAIM_PREF_STRING, GAIM_PREF_STRING_LIST + } GaimPrefType; /** @@ -45,6 +46,10 @@ typedef void (*GaimPrefCallback) (const char *name, GaimPrefType type, gpointer val, gpointer data); +#ifdef __cplusplus +extern "C" { +#endif + /**************************************************************************/ /** @name Prefs API */ /**************************************************************************/ @@ -206,4 +211,8 @@ /*@}*/ +#ifdef __cplusplus +} +#endif + #endif /* _PREFS_H_ */