[MOAB-dev] r1929 - MOAB/trunk/parallel

dcthomp at mcs.anl.gov dcthomp at mcs.anl.gov
Wed Jun 25 19:32:57 CDT 2008


Author: dcthomp
Date: 2008-06-25 19:32:57 -0500 (Wed, 25 Jun 2008)
New Revision: 1929

Modified:
   MOAB/trunk/parallel/transfer.h
Log:
COMP: mbcoupler's C++ code includes transfer.h. Bracket
      function declarations in extern "C" { ... }.


Modified: MOAB/trunk/parallel/transfer.h
===================================================================
--- MOAB/trunk/parallel/transfer.h	2008-06-25 23:50:02 UTC (rev 1928)
+++ MOAB/trunk/parallel/transfer.h	2008-06-26 00:32:57 UTC (rev 1929)
@@ -7,6 +7,10 @@
 #warning "transfer.h" requires "tuple_list.h" and "crystal.h"
 #endif
 
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
 /*------------------------------------------------------------------------------
   
   Transfer
@@ -24,6 +28,10 @@
 void gs_transfer(int dynamic, tuple_list* tl,
                  unsigned pf, crystal_data *crystal);
 
+#ifdef __cplusplus
+} /* extern "C" */
+#endif /* __cplusplus */
+
 #endif
 
 #endif




More information about the moab-dev mailing list