[Opensrf-commits] r1599 - trunk/include/opensrf
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jan 8 15:44:54 EST 2009
Author: scottmk
Date: 2009-01-08 15:44:50 -0500 (Thu, 08 Jan 2009)
New Revision: 1599
Modified:
trunk/include/opensrf/osrf_big_list.h
Log:
Prepare for #inclusion in C++
Modified: trunk/include/opensrf/osrf_big_list.h
===================================================================
--- trunk/include/opensrf/osrf_big_list.h 2009-01-08 20:18:33 UTC (rev 1598)
+++ trunk/include/opensrf/osrf_big_list.h 2009-01-08 20:44:50 UTC (rev 1599)
@@ -1,11 +1,14 @@
#ifndef OSRF_BIG_LIST_H
#define OSRF_BIG_LIST_H
-
#include <stdio.h>
#include <opensrf/utils.h>
#include <Judy.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
Items are stored as void*'s so it's up to the user to
manage the data wisely. Also, if the 'freeItem' callback is defined for the list,
@@ -138,5 +141,8 @@
*/
void osrfBigListSetDefaultFree( osrfBigList* list );
+#ifdef __cplusplus
+}
+#endif
#endif
More information about the opensrf-commits
mailing list