X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3111b4d9bcae48261dfa4990fcc27ea9e7a7f0aa..dff9e15c44ab6340d27215957c56fa72fad246a2:/src/xbt/xbt_context_java.h diff --git a/src/xbt/xbt_context_java.h b/src/xbt/xbt_context_java.h index a817ec216e..7c7531549f 100644 --- a/src/xbt/xbt_context_java.h +++ b/src/xbt/xbt_context_java.h @@ -1,22 +1,20 @@ -#ifndef _XBT_JCONTEXT_H -#define _XBT_JCONTEXT_H - -#include "portable.h" -#include "xbt/misc.h" - -#include "xbt/xbt_context_private.h" -#include "java/jmsg.h" -#include "java/jmsg_process.h" - -SG_BEGIN_DECL() - -typedef struct s_xbt_jcontext -{ - XBT_CTX_BASE_T; - jobject jprocess; /* the java process instance binded with the msg process structure */ - JNIEnv* jenv; /* jni interface pointer associated to this thread */ -}s_xbt_jcontext_t,* xbt_jcontext_t; - -SG_END_DECL() - -#endif /* !_XBT_JCONTEXT_H */ +#ifndef _XBT_CONTEXT_JAVA_H +#define _XBT_CONTEXT_JAVA_H + +#include "portable.h" +#include "xbt/misc.h" + +#include "xbt/xbt_context_private.h" +#include "java/jmsg.h" +#include "java/jmsg_process.h" + +SG_BEGIN_DECL() + + typedef struct s_xbt_ctx_java { + XBT_CTX_BASE_T; + jobject jprocess; /* the java process instance binded with the msg process structure */ + JNIEnv *jenv; /* jni interface pointer associated to this thread */ + } s_xbt_ctx_java_t, *xbt_ctx_java_t; + +SG_END_DECL() +#endif /* !_XBT_CONTEXT_JAVA_H */