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
more informative error message
[simgrid.git]
/
src
/
bindings
/
java
/
jmsg.h
diff --git
a/src/bindings/java/jmsg.h
b/src/bindings/java/jmsg.h
index 73e9ad9460be9b8413db968d9316f85472af29f0..c6c8625502caf6cc2a6895d400c2e996486de17b 100644
(file)
--- a/
src/bindings/java/jmsg.h
+++ b/
src/bindings/java/jmsg.h
@@
-1,16
+1,19
@@
/* Java Wrappers to the MSG API. */
/* Java Wrappers to the MSG API. */
-/* Copyright (c) 2007-201
2
. The SimGrid Team.
+/* Copyright (c) 2007-201
4
. 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 MSG4JAVA_H
#define MSG4JAVA_H
#include <msg/msg.h>
#include <jni.h>
#ifndef MSG4JAVA_H
#define MSG4JAVA_H
#include <msg/msg.h>
#include <jni.h>
+extern int JAVA_HOST_LEVEL;
+extern xbt_lib_t host_lib;
+
JavaVM *get_java_VM(void);
JNIEnv *get_current_thread_env(void);
/**
JavaVM *get_java_VM(void);
JNIEnv *get_current_thread_env(void);
/**
@@
-56,6
+59,8
@@
JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_critical(JNIEnv *, jclass,
JNIEXPORT void JNICALL
Java_org_simgrid_msg_Msg_createEnvironment(JNIEnv * env, jclass cls,
jstring jplatformFile);
JNIEXPORT void JNICALL
Java_org_simgrid_msg_Msg_createEnvironment(JNIEnv * env, jclass cls,
jstring jplatformFile);
+JNIEXPORT jobject JNICALL
+Java_org_simgrid_msg_Msg_environmentGetRoutingRoot(JNIEnv * env, jclass cls);
JNIEXPORT void JNICALL
Java_org_simgrid_msg_Msg_deployApplication(JNIEnv * env, jclass cls,
jstring jdeploymentFile);
JNIEXPORT void JNICALL
Java_org_simgrid_msg_Msg_deployApplication(JNIEnv * env, jclass cls,
jstring jdeploymentFile);