[Expat-checkins] expat/tests chardata.h, 1.3, 1.4 minicheck.h, 1.2, 1.3

Fred L. Drake fdrake at users.sourceforge.net
Thu Sep 30 06:58:12 CEST 2004


Update of /cvsroot/expat/expat/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23733

Modified Files:
	chardata.h minicheck.h 
Log Message:
make the headers for support code more C++ friendly

Index: chardata.h
===================================================================
RCS file: /cvsroot/expat/expat/tests/chardata.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- chardata.h	22 May 2002 20:20:05 -0000	1.3
+++ chardata.h	30 Sep 2004 04:58:09 -0000	1.4
@@ -4,6 +4,10 @@
    and attribute content.
 */
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #ifndef XML_CHARDATA_H
 #define XML_CHARDATA_H 1
 
@@ -30,3 +34,7 @@
 
 
 #endif  /* XML_CHARDATA_H */
+
+#ifdef __cplusplus
+}
+#endif

Index: minicheck.h
===================================================================
RCS file: /cvsroot/expat/expat/tests/minicheck.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- minicheck.h	15 Jul 2004 22:54:19 -0000	1.2
+++ minicheck.h	30 Sep 2004 04:58:09 -0000	1.3
@@ -7,6 +7,10 @@
  * This is *source* compatible, but not necessary *link* compatible.
  */
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define CK_NOFORK 0
 #define CK_FORK   1
 
@@ -67,3 +71,7 @@
 void srunner_run_all(SRunner *runner, int verbosity);
 int srunner_ntests_failed(SRunner *runner);
 void srunner_free(SRunner *runner);
+
+#ifdef __cplusplus
+}
+#endif



More information about the Expat-checkins mailing list