A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
In C++ files, replace SG_{BEGIN,END}+_DECL() by extern "C" { }.
[simgrid.git]
/
src
/
simix
/
smx_private.hpp
diff --git
a/src/simix/smx_private.hpp
b/src/simix/smx_private.hpp
index
1f20d83
..
8fd641f
100644
(file)
--- a/
src/simix/smx_private.hpp
+++ b/
src/simix/smx_private.hpp
@@
-60,7
+60,7
@@
public:
}
}
-SG_BEGIN_DECL()
+extern "C" {
XBT_PUBLIC_DATA(std::unique_ptr<simgrid::simix::Global>) simix_global;
@@
-76,7
+76,6
@@
XBT_PUBLIC(void) SIMIX_clean();
e.value = val; \
_smx_throw_issuer->exception = std::make_exception_ptr(e); \
} else ((void)0)
-
-SG_END_DECL()
+}
#endif