C++ oaf patch.



Hi,

	Just committed this to help our C++ friends =)

	HTH,

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/oaf/ChangeLog,v
retrieving revision 1.35
diff -u -r1.35 ChangeLog
--- ChangeLog	2000/07/06 17:33:06	1.35
+++ ChangeLog	2000/07/10 15:22:04
@@ -1,3 +1,7 @@
+2000-07-07  Michael Meeks  <michael@helixcode.com>
+
+	* liboaf/liboaf.h: extern "C".
+
 2000-07-06  Michael Meeks  <michael@helixcode.com>
 
 	* test/oaf-slay.tmpl: add.
Index: liboaf/liboaf.h
===================================================================
RCS file: /cvs/gnome/oaf/liboaf/liboaf.h,v
retrieving revision 1.23
diff -u -r1.23 liboaf.h
--- liboaf/liboaf.h	2000/06/16 19:03:18	1.23
+++ liboaf/liboaf.h	2000/07/10 15:22:05
@@ -2,6 +2,10 @@
 #ifndef LIBOAF_H
 #define LIBOAF_H 1
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include <liboaf/liboaf-version.h>
 #include <liboaf/oaf.h>
 
@@ -169,4 +173,9 @@
 
 CORBA_Object oaf_name_service_get (CORBA_Environment * ev);
 
+#ifdef __cplusplus
+}
 #endif
+
+#endif /* LIBOAF_H */
+

	Regards,

		Michael.

-- 
 mmeeks@gnu.org  <><, Pseudo Engineer, itinerant idiot





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]