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_comm.cpp
diff --git
a/src/bindings/java/jmsg_comm.cpp
b/src/bindings/java/jmsg_comm.cpp
index
011d39d
..
f58666a
100644
(file)
--- a/
src/bindings/java/jmsg_comm.cpp
+++ b/
src/bindings/java/jmsg_comm.cpp
@@
-14,7
+14,7
@@
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(java);
-SG_BEGIN_DECL()
+extern "C" {
static jfieldID jcomm_field_Comm_bind;
static jfieldID jcomm_field_Comm_finished;
@@
-166,5
+166,4
@@
JNIEXPORT int JNICALL Java_org_simgrid_msg_Comm_waitAny(JNIEnv *env, jclass cls,
xbt_dynar_free(&dyn);
return rank;
}
-
-SG_END_DECL()
+}