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
Update simgrid java version and indent.
[simgrid.git]
/
src
/
jmsg_host.h
diff --git
a/src/jmsg_host.h
b/src/jmsg_host.h
index
d4ddd1d
..
0aab697
100644
(file)
--- a/
src/jmsg_host.h
+++ b/
src/jmsg_host.h
@@
-96,9
+96,16
@@
const char *jhost_get_name(jobject jhost, JNIEnv * env);
* Otherwise the function returns false.
*/
jboolean jhost_is_valid(jobject jhost, JNIEnv * env);
* Otherwise the function returns false.
*/
jboolean jhost_is_valid(jobject jhost, JNIEnv * env);
+/*
+ * Class org_simgrid_msg_Host
+ * Method nativeInit
+ * Signature ();
+ */
+JNIEXPORT void JNICALL
+Java_org_simgrid_msg_Host_nativeInit(JNIEnv *env, jclass cls);
/*
/*
- * Class simgrid_msg_Host
+ * Class
org_
simgrid_msg_Host
* Method getByName
* Signature (Ljava/lang/String;)Lsimgrid/msg/Host;
*/
* Method getByName
* Signature (Ljava/lang/String;)Lsimgrid/msg/Host;
*/
@@
-106,22
+113,14
@@
JNIEXPORT jobject JNICALL Java_org_simgrid_msg_Host_getByName
(JNIEnv *, jclass, jstring);
/*
(JNIEnv *, jclass, jstring);
/*
- * Class simgrid_msg_Host
+ * Class
org_
simgrid_msg_Host
* Method currentHost
* Signature ()Lsimgrid/msg/Host;
*/
JNIEXPORT jobject JNICALL Java_org_simgrid_msg_Host_currentHost
(JNIEnv *, jclass);
* Method currentHost
* Signature ()Lsimgrid/msg/Host;
*/
JNIEXPORT jobject JNICALL Java_org_simgrid_msg_Host_currentHost
(JNIEnv *, jclass);
-
/*
/*
- * Class simgrid_msg_Host
- * Method getName
- * Signature ()Ljava/lang/String;
- */
-JNIEXPORT jstring JNICALL Java_org_simgrid_msg_Host_getName
- (JNIEnv *, jobject);
-/*
- * Class simgrid_msg_Host
+ * Class org_simgrid_msg_Host
* Method getCount
* Signature ()I
*/
* Method getCount
* Signature ()I
*/
@@
-129,14
+128,14
@@
JNIEXPORT jint JNICALL Java_org_simgrid_msg_Host_getCount
(JNIEnv *, jclass);
/*
(JNIEnv *, jclass);
/*
- * Class simgrid_msg_Host
+ * Class
org_
simgrid_msg_Host
* Method getSpeed
* Signature ()D
*/
JNIEXPORT jdouble JNICALL Java_org_simgrid_msg_Host_getSpeed
(JNIEnv *, jobject);
/*
* Method getSpeed
* Signature ()D
*/
JNIEXPORT jdouble JNICALL Java_org_simgrid_msg_Host_getSpeed
(JNIEnv *, jobject);
/*
- * Class simgrid_msg_Host
+ * Class
org_
simgrid_msg_Host
* Method getLoad
* Signature ()I
*/
* Method getLoad
* Signature ()I
*/
@@
-145,11
+144,18
@@
Java_org_simgrid_msg_Host_getLoad(JNIEnv * env,
jobject jhost);
/*
jobject jhost);
/*
- * Class
simgrid_msg_Msg
+ * Class
org_simgrid_msg_Host
* Method isAvail
* Signature ()Z
*/
JNIEXPORT jboolean JNICALL Java_org_simgrid_msg_Host_isAvail
(JNIEnv *, jobject);
* Method isAvail
* Signature ()Z
*/
JNIEXPORT jboolean JNICALL Java_org_simgrid_msg_Host_isAvail
(JNIEnv *, jobject);
+/**
+ * Class org_simgrid_msg_Host
+ * Method all
+ */
+JNIEXPORT jobjectArray JNICALL
+Java_org_simgrid_msg_Host_all(JNIEnv *, jclass);
+
#endif /*!MSG_JHOST_H */
#endif /*!MSG_JHOST_H */