Converted md.c to C++
[alexxy/gromacs.git] / src / gromacs / fileio / mdoutf.h
index 3372db38d9cf3c14912a74262192447b26ce58e7..645ecab6f09d966be56dec3062283410aee2a7ab 100644 (file)
 #include "filenm.h"
 #include "enxio.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct gmx_mtop_t;
 
 typedef struct gmx_mdoutf *gmx_mdoutf_t;
@@ -98,5 +102,8 @@ void mdoutf_write_to_trajectory_files(FILE *fplog, t_commrec *cr,
 #define MDOF_CPT          (1<<4)
 #define MDOF_IMD          (1<<5)
 
+#ifdef __cplusplus
+}
+#endif
 
 #endif /* GMX_FILEIO_MDOUTF_H */