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
allow java actors to kill themselves
[simgrid.git]
/
src
/
bindings
/
java
/
jmsg_process.h
diff --git
a/src/bindings/java/jmsg_process.h
b/src/bindings/java/jmsg_process.h
index
963b7b3
..
6704662
100644
(file)
--- a/
src/bindings/java/jmsg_process.h
+++ b/
src/bindings/java/jmsg_process.h
@@
-15,6
+15,15
@@
SG_BEGIN_DECL();
SG_BEGIN_DECL();
+/* Shut up some errors in eclipse online compiler. I wish such a pimple wouldn't be needed */
+#ifndef JNIEXPORT
+#define JNIEXPORT
+#endif
+#ifndef JNICALL
+#define JNICALL
+#endif
+/* end of eclipse-mandated pimple */
+
//Cached java fields
extern jfieldID jprocess_field_Process_bind;
extern jfieldID jprocess_field_Process_host;
//Cached java fields
extern jfieldID jprocess_field_Process_bind;
extern jfieldID jprocess_field_Process_host;
@@
-24,8
+33,6
@@
extern jfieldID jprocess_field_Process_name;
extern jfieldID jprocess_field_Process_pid;
extern jfieldID jprocess_field_Process_ppid;
extern jfieldID jprocess_field_Process_pid;
extern jfieldID jprocess_field_Process_ppid;
-JNIEXPORT void JNICALL Java_org_simgrid_msg_Process_exit(JNIEnv *env, jobject);
-
jobject native_to_java_process(msg_process_t process);
/**
jobject native_to_java_process(msg_process_t process);
/**