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
Prepare test suite for msg-storage "ctest -R msg-storage"
[simgrid.git]
/
src
/
bindings
/
java
/
jmsg_vm.c
diff --git
a/src/bindings/java/jmsg_vm.c
b/src/bindings/java/jmsg_vm.c
index
626afd5
..
5c54c1f
100644
(file)
--- a/
src/bindings/java/jmsg_vm.c
+++ b/
src/bindings/java/jmsg_vm.c
@@
-1,9
+1,10
@@
/* Functions related to the MSG VM API. */
/* Functions related to the MSG VM API. */
-/* Copyright (c) 2012. The SimGrid Team. */
+/* Copyright (c) 2012-2013. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
/* 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. */
#include "jmsg_vm.h"
#include "jmsg_host.h"
#include "jmsg_process.h"
#include "jmsg_vm.h"
#include "jmsg_host.h"
#include "jmsg_process.h"
@@
-11,6
+12,8
@@
#include "msg/msg.h"
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(jmsg);
#include "msg/msg.h"
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(jmsg);
+static jfieldID jvm_field_bind;
+
void jvm_bind(JNIEnv *env, jobject jvm, msg_vm_t vm) {
(*env)->SetLongField(env, jvm, jvm_field_bind, (intptr_t)vm);
}
void jvm_bind(JNIEnv *env, jobject jvm, msg_vm_t vm) {
(*env)->SetLongField(env, jvm, jvm_field_bind, (intptr_t)vm);
}