Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Try to fixup the context mess
[simgrid.git] / src / xbt / xbt_context_java.h
1 #ifndef _XBT_CONTEXT_JAVA_H\r
2 #define _XBT_CONTEXT_JAVA_H\r
3 \r
4 #include "portable.h"\r
5 #include "xbt/misc.h"\r
6 \r
7 #include "xbt/xbt_context_private.h"\r
8 #include "java/jmsg.h"\r
9 #include "java/jmsg_process.h"\r
10 \r
11 SG_BEGIN_DECL()\r
12 \r
13 typedef struct s_xbt_ctx_java\r
14 {\r
15         XBT_CTX_BASE_T;\r
16         jobject jprocess;                               /* the java process instance binded with the msg process structure                                                      */\r
17         JNIEnv* jenv;                                   /* jni interface pointer associated to this thread                                                                                      */\r
18 }s_xbt_ctx_java_t,* xbt_ctx_java_t;\r
19 \r
20 SG_END_DECL()\r
21 \r
22 #endif /* !_XBT_CONTEXT_JAVA_H */\r