Mercurial > pidgin
diff libpurple/certificate.h @ 32433:98520ee78f12
Use G_BEGIN/END_DECLS in public libpurple files. This was
previously inconsistent. Sometimes there was even both the
GLib macros and an extern "C" line.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Tue, 03 Jan 2012 23:32:59 +0000 |
parents | 7ceb5ca4b323 |
children | 298080cecdc5 |
line wrap: on
line diff
--- a/libpurple/certificate.h Tue Jan 03 19:29:43 2012 +0000 +++ b/libpurple/certificate.h Tue Jan 03 23:32:59 2012 +0000 @@ -34,11 +34,6 @@ #include <glib.h> -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - - typedef enum { PURPLE_CERTIFICATE_INVALID = 0, @@ -357,6 +352,8 @@ gpointer cb_data; }; +G_BEGIN_DECLS + /*****************************************************************************/ /** @name Certificate Verification Functions */ /*****************************************************************************/ @@ -833,8 +830,6 @@ */ void purple_certificate_add_ca_search_path(const char *path); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* _PURPLE_CERTIFICATE_H */