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
/
surf
/
plugins
/
host_load.cpp
diff --git
a/src/surf/plugins/host_load.cpp
b/src/surf/plugins/host_load.cpp
index
99e7a39
..
f1e039a
100644
(file)
--- a/
src/surf/plugins/host_load.cpp
+++ b/
src/surf/plugins/host_load.cpp
@@
-139,7
+139,7
@@
static void onActionStateChange(simgrid::surf::CpuAction* action, simgrid::surf:
}
/* **************************** Public interface *************************** */
-SG_BEGIN_DECL()
+extern "C" {
/** \ingroup plugin_load
* \brief Initializes the HostLoad plugin
@@
-185,5
+185,4
@@
void sg_host_load_reset(sg_host_t host)
host->extension<HostLoad>()->reset();
}
-
-SG_END_DECL()
+}