X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/908f43d575e3b19014f39ba209da997ab6e3fa2c..27d8dc3659e116a12b48fbde02eb4d6ae27f6328:/src/bindings/java/jmsg.h diff --git a/src/bindings/java/jmsg.h b/src/bindings/java/jmsg.h index 4d9a5d4d91..bc8ad54f2f 100644 --- a/src/bindings/java/jmsg.h +++ b/src/bindings/java/jmsg.h @@ -1,16 +1,21 @@ /* Java Wrappers to the MSG API. */ -/* Copyright (c) 2007-2012. The SimGrid Team. +/* Copyright (c) 2007-2015. 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. */ + * under the terms of the license (GNU LGPL) which comes with this package. */ #ifndef MSG4JAVA_H #define MSG4JAVA_H -#include +#include #include +SG_BEGIN_DECL() + +extern int JAVA_HOST_LEVEL; +extern int JAVA_STORAGE_LEVEL; + JavaVM *get_java_VM(void); JNIEnv *get_current_thread_env(void); /** @@ -62,4 +67,6 @@ JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_deployApplication(JNIEnv * env, jclass cls, jstring jdeploymentFile); +SG_END_DECL() + #endif /* !MSG4JAVA_H */