biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More files to C++.
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxpreprocess
/
topdirs.h
diff --git
a/src/gromacs/gmxpreprocess/topdirs.h
b/src/gromacs/gmxpreprocess/topdirs.h
index ff049e32bac78ee6860bc8c191c00d6610d4a249..17889d75e87f7853fae8d8318a8a94db9be3b5e4 100644
(file)
--- a/
src/gromacs/gmxpreprocess/topdirs.h
+++ b/
src/gromacs/gmxpreprocess/topdirs.h
@@
-38,6
+38,11
@@
#include "grompp.h"
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
typedef struct tagDirStack {
directive d;
struct tagDirStack *prev;
@@
-59,4
+64,8
@@
extern int DS_Search (DirStack *DS, directive d);
extern int DS_Check_Order (DirStack *DS, directive d);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _topdirs_h */