diff libgaim/xmlnode.h @ 14926:500a8f54354e

[gaim-migrate @ 17698] Add extern "C" guards to header files which are missing it. This should fix problems similar to SF Bug #1592175. Also, while I was at it, I made the _GaimStringref definition private. It already had a warning to not use it directly, so it should really be safe to make private. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 07 Nov 2006 20:40:22 +0000
parents 289490ee84d1
children 50f263712df1
line wrap: on
line diff
--- a/libgaim/xmlnode.h	Tue Nov 07 19:54:02 2006 +0000
+++ b/libgaim/xmlnode.h	Tue Nov 07 20:40:22 2006 +0000
@@ -25,6 +25,10 @@
 #ifndef _GAIM_XMLNODE_H_
 #define _GAIM_XMLNODE_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * The valid types for an xmlnode
  */
@@ -224,4 +228,8 @@
  */
 void xmlnode_free(xmlnode *node);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _GAIM_XMLNODE_H_ */