comparison libpurple/prefs.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 02a2e8183b1d
children
comparison
equal deleted inserted replaced
32432:79fdae8fa875 32433:98520ee78f12
60 * @see purple_prefs_connect_callback() 60 * @see purple_prefs_connect_callback()
61 */ 61 */
62 typedef void (*PurplePrefCallback) (const char *name, PurplePrefType type, 62 typedef void (*PurplePrefCallback) (const char *name, PurplePrefType type,
63 gconstpointer val, gpointer data); 63 gconstpointer val, gpointer data);
64 64
65 #ifdef __cplusplus 65 G_BEGIN_DECLS
66 extern "C" {
67 #endif
68 66
69 /**************************************************************************/ 67 /**************************************************************************/
70 /** @name Prefs API 68 /** @name Prefs API
71 Preferences are named according to a directory-like structure. 69 Preferences are named according to a directory-like structure.
72 Example: "/plugins/core/potato/is_from_idaho" (probably a boolean) */ 70 Example: "/plugins/core/potato/is_from_idaho" (probably a boolean) */
360 */ 358 */
361 void purple_prefs_update_old(void); 359 void purple_prefs_update_old(void);
362 360
363 /*@}*/ 361 /*@}*/
364 362
365 #ifdef __cplusplus 363 G_END_DECLS
366 }
367 #endif
368 364
369 #endif /* _PURPLE_PREFS_H_ */ 365 #endif /* _PURPLE_PREFS_H_ */