Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Files still broken, but at least in the right directory
[simgrid.git] / src / xbt / xbt_context_java.h
diff --git a/src/xbt/xbt_context_java.h b/src/xbt/xbt_context_java.h
new file mode 100644 (file)
index 0000000..a817ec2
--- /dev/null
@@ -0,0 +1,22 @@
+#ifndef _XBT_JCONTEXT_H\r
+#define _XBT_JCONTEXT_H\r
+\r
+#include "portable.h"\r
+#include "xbt/misc.h"\r
+\r
+#include "xbt/xbt_context_private.h"\r
+#include "java/jmsg.h"\r
+#include "java/jmsg_process.h"\r
+\r
+SG_BEGIN_DECL()\r
+\r
+typedef struct s_xbt_jcontext\r
+{\r
+       XBT_CTX_BASE_T;\r
+       jobject jprocess;                               /* the java process instance binded with the msg process structure                                                      */\r
+       JNIEnv* jenv;                                   /* jni interface pointer associated to this thread                                                                                      */\r
+}s_xbt_jcontext_t,* xbt_jcontext_t;\r
+\r
+SG_END_DECL()\r
+\r
+#endif /* !_XBT_JCONTEXT_H */\r