Mercurial > pidgin
diff src/util.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 | a4f2aba0848d |
children | 2fed50891afa |
line wrap: on
line diff
--- a/src/util.h Mon Jun 23 02:00:15 2003 +0000 +++ b/src/util.h Mon Jun 23 06:40:13 2003 +0000 @@ -28,6 +28,10 @@ #include "account.h" +#ifdef __cplusplus +extern "C" { +#endif + /** * Normalizes a string, so that it is suitable for comparison. * @@ -299,10 +303,15 @@ const gchar *replacement); /** - * Returns a string representing a filesize in the appropriate units (MB, KB, GB, etc.) + * Returns a string representing a filesize in the appropriate + * units (MB, KB, GB, etc.) * * @param size The size */ char *gaim_get_size_string(size_t size); +#ifdef __cplusplus +} +#endif + #endif /* _GAIM_UTIL_H_ */