[Opensrf-commits] r1605 - trunk/include/opensrf
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jan 8 16:43:27 EST 2009
Author: scottmk
Date: 2009-01-08 16:43:23 -0500 (Thu, 08 Jan 2009)
New Revision: 1605
Modified:
trunk/include/opensrf/osrf_list.h
Log:
Prepare for #inclusion in C++
Modified: trunk/include/opensrf/osrf_list.h
===================================================================
--- trunk/include/opensrf/osrf_list.h 2009-01-08 21:34:17 UTC (rev 1604)
+++ trunk/include/opensrf/osrf_list.h 2009-01-08 21:43:23 UTC (rev 1605)
@@ -3,6 +3,10 @@
#include <opensrf/utils.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define OSRF_LIST_GET_INDEX(l, i) (!l || i >= l->size) ? NULL: l->arrlist[i]
/**
@@ -139,5 +143,8 @@
* list if there are no null slots */
int osrfListPushFirst( osrfList* list, void* item );
+#ifdef __cplusplus
+}
+#endif
#endif
More information about the opensrf-commits
mailing list