Mercurial > pidgin
diff libpurple/value.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 | d3e36e7af9e7 |
children |
line wrap: on
line diff
--- a/libpurple/value.h Tue Jan 03 19:29:43 2012 +0000 +++ b/libpurple/value.h Tue Jan 03 23:32:59 2012 +0000 @@ -88,9 +88,7 @@ */ typedef struct _PurpleValue PurpleValue; -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS /** * Creates a new PurpleValue. @@ -464,8 +462,6 @@ */ void *purple_value_get_boxed(const PurpleValue *value); -#ifdef __cplusplus -} -#endif +G_END_DECLS #endif /* _PURPLE_VALUE_H_ */