X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/821649e2221068a113b41b8e9c5ac4ba76887772..057f189342acabd431a079455e0800d1abcd8057:/src/simix/smx_context_java.h diff --git a/src/simix/smx_context_java.h b/src/simix/smx_context_java.h index f646036108..5062715e61 100644 --- a/src/simix/smx_context_java.h +++ b/src/simix/smx_context_java.h @@ -1,20 +1,26 @@ +/* Copyright (c) 2009, 2010. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + #ifndef _XBT_CONTEXT_JAVA_H #define _XBT_CONTEXT_JAVA_H #include "portable.h" #include "xbt/misc.h" -#include "private.h" +#include "smx_context_private.h" #include "java/jmsg.h" #include "java/jmsg_process.h" SG_BEGIN_DECL() - 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 */ - } s_smx_ctx_java_t, *smx_ctx_java_t; +typedef struct s_smx_ctx_java { + s_smx_ctx_base_t super; /* Fields of super implementation */ + jobject jprocess; /* the java process instance binded with the msg process structure */ + JNIEnv *jenv; /* jni interface pointer associated to this thread */ +} s_smx_ctx_java_t, *smx_ctx_java_t; SG_END_DECL() -#endif /* !_XBT_CONTEXT_JAVA_H */ +#endif /* !_XBT_CONTEXT_JAVA_H */