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
/
bindings
/
java
/
jmsg.cpp
diff --git
a/src/bindings/java/jmsg.cpp
b/src/bindings/java/jmsg.cpp
index
804cc7b
..
971a496
100644
(file)
--- a/
src/bindings/java/jmsg.cpp
+++ b/
src/bindings/java/jmsg.cpp
@@
-38,7
+38,7
@@
#endif
/* end of eclipse-mandated pimple */
#endif
/* end of eclipse-mandated pimple */
-SG_BEGIN_DECL()
+extern "C" {
int JAVA_HOST_LEVEL = -1;
int JAVA_HOST_LEVEL = -1;
@@
-243,8
+243,7
@@
Java_org_simgrid_msg_Msg_deployApplication(JNIEnv * env, jclass cls, jstring jde
JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_energyInit() {
sg_host_energy_plugin_init();
}
JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_energyInit() {
sg_host_energy_plugin_init();
}
-
-SG_END_DECL()
+} // extern "C"
/** Run a Java org.simgrid.msg.Process
*
/** Run a Java org.simgrid.msg.Process
*