[open-ils-commits] r11771 - trunk/Open-ILS/include/openils

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jan 8 15:08:08 EST 2009


Author: scottmk
Date: 2009-01-08 15:08:05 -0500 (Thu, 08 Jan 2009)
New Revision: 11771

Modified:
   trunk/Open-ILS/include/openils/oils_event.h
Log:
Prepare for #inclusion in C++


Modified: trunk/Open-ILS/include/openils/oils_event.h
===================================================================
--- trunk/Open-ILS/include/openils/oils_event.h	2009-01-08 20:01:51 UTC (rev 11770)
+++ trunk/Open-ILS/include/openils/oils_event.h	2009-01-08 20:08:05 UTC (rev 11771)
@@ -5,6 +5,9 @@
 #include "opensrf/log.h"
 #include "opensrf/osrf_hash.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /* OILS Event structure */
 struct _oilsEventStruct {
@@ -53,6 +56,8 @@
 /* Frees an event object */
 void oilsEventFree( oilsEvent* event );
 
+#ifdef __cplusplus
+}
+#endif
 
-
 #endif



More information about the open-ils-commits mailing list