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
Check if the fields were found in Task.nativeInit and Comm.nativeInit
[simgrid.git]
/
src
/
jmsg_comm.h
diff --git
a/src/jmsg_comm.h
b/src/jmsg_comm.h
index
31c033b
..
2c70d39
100644
(file)
--- a/
src/jmsg_comm.h
+++ b/
src/jmsg_comm.h
@@
-6,8
+6,20
@@
#define MSG_JCOMM_H
#include <jni.h>
#include <msg/msg.h>
#define MSG_JCOMM_H
#include <jni.h>
#include <msg/msg.h>
+/**
+ * This function binds the task associated with the communication to
+ * the java communication object.
+ */
void jcomm_bind_task(JNIEnv *env, jobject jcomm);
void jcomm_bind_task(JNIEnv *env, jobject jcomm);
+/**
+ * This function throws the correct exception according to the status
+ * returned.
+ */
void jcomm_throw(JNIEnv *env, MSG_error_t status);
void jcomm_throw(JNIEnv *env, MSG_error_t status);
+
+JNIEXPORT void JNICALL
+Java_org_simgrid_msg_Comm_nativeInit(JNIEnv *env, jclass cls);
+
JNIEXPORT void JNICALL
Java_org_simgrid_msg_Comm_unbind(JNIEnv *env, jobject jcomm);
JNIEXPORT void JNICALL
Java_org_simgrid_msg_Comm_unbind(JNIEnv *env, jobject jcomm);