PK added extern C for rmpbc and atomprop
authorPeter Kasson <kasson@DN0a20fa6b.SUNet>
Mon, 27 Jul 2009 18:35:44 +0000 (11:35 -0700)
committerPeter Kasson <kasson@DN0a20fa6b.SUNet>
Mon, 27 Jul 2009 18:35:44 +0000 (11:35 -0700)
include/atomprop.h
include/rmpbc.h

index 6545b8682765bf37a1674d7d4e46e8046adbfc3e..eef88e8acf68acc0c149f20426f6f8573a020c0f 100644 (file)
 #include <config.h>
 #endif
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include "index.h"
 
 /* Abstract type for the atom property database */
@@ -68,4 +72,9 @@ extern bool gmx_atomprop_query(gmx_atomprop_t aps,
  * the database will be read.
  */
 
+#ifdef __cplusplus
+}
+#endif
+
+
 #endif
index 00d6ca72e4713cc29b07a9ec4c7f77c5163c6bda..8aca3c66409a556411a3714db49216287dfb0c36 100644 (file)
 #include <config.h>
 #endif
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 
 #include "typedefs.h"
        
@@ -59,5 +63,9 @@ extern void rm_gropbc(t_atoms *atoms,rvec x[],matrix box);
 /* Simple routine for use in analysis tools that just have a pdb or 
  * similar file.
  */
+
+#ifdef __cplusplus
+}
+#endif
  
 #endif /* _rmpbc_h */