X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f06041cf2c450457a0b47a49b66b19cb9133c18e..9d55e5f6c6e23b9bed8e786e28e47addea1028aa:/src/bindings/java/jmsg.h diff --git a/src/bindings/java/jmsg.h b/src/bindings/java/jmsg.h index b9046ab202..75ad3dbcae 100644 --- a/src/bindings/java/jmsg.h +++ b/src/bindings/java/jmsg.h @@ -1,6 +1,6 @@ /* Java Wrappers to the MSG API. */ -/* Copyright (c) 2007-2014. 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 @@ -11,11 +11,10 @@ #include #include -extern int JAVA_HOST_LEVEL; -extern xbt_lib_t host_lib; +SG_BEGIN_DECL() +extern int JAVA_HOST_LEVEL; extern int JAVA_STORAGE_LEVEL; -extern xbt_lib_t storage_lib; JavaVM *get_java_VM(void); JNIEnv *get_current_thread_env(void); @@ -41,6 +40,9 @@ JNIEXPORT void JNICALL JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_init(JNIEnv * env, jclass cls, jobjectArray jargs); +JNIEXPORT void JNICALL +Java_org_simgrid_msg_Msg_energyInit(void); + JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_debug(JNIEnv *, jclass, jstring); @@ -68,4 +70,6 @@ JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_deployApplication(JNIEnv * env, jclass cls, jstring jdeploymentFile); +SG_END_DECL() + #endif /* !MSG4JAVA_H */