+/* 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
SG_BEGIN_DECL()
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_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;
+void SIMIX_ctx_java_factory_init(smx_context_factory_t * factory);
SG_END_DECL()
-#endif /* !_XBT_CONTEXT_JAVA_H */
+#endif /* !_XBT_CONTEXT_JAVA_H */