Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fixed the java's context interface to build with the context module layout [Cristian]
[simgrid.git] / src / simix / smx_context_java.h
index 7c7531549f63b4682c272fbea89b1616f4b57483..f646036108ed5299e892a3026d03f8a73f252325 100644 (file)
@@ -4,17 +4,17 @@
 #include "portable.h"
 #include "xbt/misc.h"
 
 #include "portable.h"
 #include "xbt/misc.h"
 
-#include "xbt/xbt_context_private.h"
+#include "private.h"
 #include "java/jmsg.h"
 #include "java/jmsg_process.h"
 
 SG_BEGIN_DECL()
 
 #include "java/jmsg.h"
 #include "java/jmsg_process.h"
 
 SG_BEGIN_DECL()
 
-     typedef struct s_xbt_ctx_java {
-       XBT_CTX_BASE_T;
+     typedef struct s_smx_ctx_java {
+       SMX_CTX_BASE_T;
        jobject jprocess;        /* the java process instance binded with the msg process structure                                                      */
        JNIEnv *jenv;            /* jni interface pointer associated to this thread                                                                                      */
        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;
+     } s_smx_ctx_java_t, *smx_ctx_java_t;
 
 SG_END_DECL()
 #endif /* !_XBT_CONTEXT_JAVA_H */
 
 SG_END_DECL()
 #endif /* !_XBT_CONTEXT_JAVA_H */