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
[java] Catch StopRequest during VM migration.
[simgrid.git]
/
src
/
bindings
/
java
/
jmsg_rngstream.cpp
diff --git
a/src/bindings/java/jmsg_rngstream.cpp
b/src/bindings/java/jmsg_rngstream.cpp
index
cf069b3
..
1d4987c
100644
(file)
--- a/
src/bindings/java/jmsg_rngstream.cpp
+++ b/
src/bindings/java/jmsg_rngstream.cpp
@@
-1,6
+1,6
@@
/* Java binding of the RngStream library */
/* Java binding of the RngStream library */
-/* Copyright (c) 2007-201
7
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2007-201
9
. The SimGrid Team. 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. */
/* 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. */
@@
-10,8
+10,6
@@
#include "jmsg_rngstream.h"
#include "jxbt_utilities.hpp"
#include "jmsg_rngstream.h"
#include "jxbt_utilities.hpp"
-extern "C" {
-
jfieldID jrngstream_bind;
RngStream jrngstream_to_native(JNIEnv *env, jobject jrngstream) {
jfieldID jrngstream_bind;
RngStream jrngstream_to_native(JNIEnv *env, jobject jrngstream) {
@@
-145,4
+143,3
@@
JNIEXPORT jint JNICALL Java_org_simgrid_msg_RngStream_randInt(JNIEnv *env, jobje
return (jint)RngStream_RandInt(rngstream, (int)i, (int)j);
}
return (jint)RngStream_RandInt(rngstream, (int)i, (int)j);
}
-}