Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix copyright headers
[simgrid.git] / src / simix / smx_context_java.h
1 /* Copyright (c) 2009, 2010. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5   * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #ifndef _XBT_CONTEXT_JAVA_H
8 #define _XBT_CONTEXT_JAVA_H
9
10 #include "portable.h"
11 #include "xbt/misc.h"
12
13 #include "smx_context_private.h"
14 #include "java/jmsg.h"
15 #include "java/jmsg_process.h"
16
17 SG_BEGIN_DECL()
18
19 typedef struct s_smx_ctx_java {
20   s_smx_ctx_base_t super;  /* Fields of super implementation */
21   jobject jprocess;        /* the java process instance binded with the msg process structure                                                      */
22   JNIEnv *jenv;            /* jni interface pointer associated to this thread                                                                                      */
23 } s_smx_ctx_java_t, *smx_ctx_java_t;
24
25 SG_END_DECL()
26 #endif /* !_XBT_CONTEXT_JAVA_H */