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
/
mc
/
mc_snapshot.hpp
diff --git
a/src/mc/mc_snapshot.hpp
b/src/mc/mc_snapshot.hpp
index
b0a19d0
..
eab2acf
100644
(file)
--- a/
src/mc/mc_snapshot.hpp
+++ b/
src/mc/mc_snapshot.hpp
@@
-16,7
+16,7
@@
#include "src/mc/mc_forward.hpp"
#include "src/mc/mc_unw.hpp"
-SG_BEGIN_DECL()
+extern "C" {
// ***** Snapshot region
@@
-231,7
+231,6
@@
static XBT_ALWAYS_INLINE void* MC_region_read_pointer(mc_mem_region_t region, co
void* res;
return *(void**) MC_region_read(region, &res, addr, sizeof(void*));
}
-
-SG_END_DECL()
+}
#endif