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
[LUA] Fixed compile time warnings, 2/2
[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
b77e986
..
7cd3c65
100644
(file)
--- a/
src/bindings/java/jmsg_process.h
+++ b/
src/bindings/java/jmsg_process.h
@@
-1,18
+1,20
@@
/* Functions related to the java process instances. */
/* Functions related to the java process instances. */
-/* Copyright (c) 2007-201
3
. The SimGrid Team.
+/* Copyright (c) 2007-201
5
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
-
* under the terms of the license (GNU LGPL) which comes with this package. */
+ * under the terms of the license (GNU LGPL) which comes with this package. */
#ifndef MSG_JPROCESS_H
#define MSG_JPROCESS_H
#include <jni.h>
#ifndef MSG_JPROCESS_H
#define MSG_JPROCESS_H
#include <jni.h>
-#include <
msg
/msg.h>
+#include <
simgrid
/msg.h>
#include <simgrid/simix.h>
#include <simgrid/simix.h>
+SG_BEGIN_DECL();
+
//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;
@@
-184,7
+186,7
@@
Java_org_simgrid_msg_Process_getProperty(JNIEnv *env, jobject jprocess, jobject
* Method currentProcess
* Signature ()Lorg/simgrid/msg/Process;
*/
* Method currentProcess
* Signature ()Lorg/simgrid/msg/Process;
*/
-JNIEXPORT jobject JNICALL Java_org_simgrid_msg_Process_
c
urrentProcess
+JNIEXPORT jobject JNICALL Java_org_simgrid_msg_Process_
getC
urrentProcess
(JNIEnv *, jclass);
/*
* Class org_simgrid_msg_Process
(JNIEnv *, jclass);
/*
* Class org_simgrid_msg_Process
@@
-264,5
+266,6
@@
JNIEXPORT void JNICALL Java_org_simgrid_msg_Process_setKillTime
JNIEXPORT jint JNICALL
Java_org_simgrid_msg_Process_getCount(JNIEnv * env, jclass cls);
JNIEXPORT jint JNICALL
Java_org_simgrid_msg_Process_getCount(JNIEnv * env, jclass cls);
+SG_END_DECL();
#endif /* !MSG_JPROCESS_H */
#endif /* !MSG_JPROCESS_H */