]> AND Public Git Repository - simgrid.git/blobdiff - src/bindings/java/jmsg_host.h
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
the on_exit() of each actor is also executed when the simulation deadlocks
[simgrid.git] / src / bindings / java / jmsg_host.h
index 08a48d5666c337fa66a124dafdeb0107c6d7b6fb..7c72bde2e192d0901f802d8a300b2bf2c39df48f 100644 (file)
@@ -1,6 +1,6 @@
 /* Functions related to the java host instances.                            */
 
-/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-2020. 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. */
@@ -8,7 +8,7 @@
 #ifndef MSG_JHOST_H
 #define MSG_JHOST_H
 
-#include "simgrid/msg.h"
+#include "simgrid/host.h"
 #include "simgrid/plugins/file_system.h"
 #include <jni.h>
 
@@ -33,10 +33,10 @@ jobject jhost_ref(JNIEnv * env, jobject jhost);
 void jhost_unref(JNIEnv * env, jobject jhost);
 
 /** Binds a native instance to a java instance. */
-void jhost_bind(jobject jhost, msg_host_t host, JNIEnv * env);
+void jhost_bind(jobject jhost, sg_host_t host, JNIEnv* env);
 
 /** Extracts the native instance associated to a java instance. */
-msg_host_t jhost_get_native(JNIEnv * env, jobject jhost);
+sg_host_t jhost_get_native(JNIEnv* env, jobject jhost);
 
 /** Initialize the native world, called from the Java world at startup */
 JNIEXPORT void JNICALL Java_org_simgrid_msg_Host_nativeInit(JNIEnv *env, jclass cls);