X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9104957deccc59e0e804215d5db498fabfd40d29..67d66b0cf79b9fc02c0450f254584693dbf21d3b:/src/bindings/java/jmsg_vm.h diff --git a/src/bindings/java/jmsg_vm.h b/src/bindings/java/jmsg_vm.h index b15cd898b6..a1636679a1 100644 --- a/src/bindings/java/jmsg_vm.h +++ b/src/bindings/java/jmsg_vm.h @@ -1,6 +1,6 @@ /* Functions related to the Virtual Machines. */ -/* Copyright (c) 2012-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2012-2021. 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,8 +8,9 @@ #ifndef MSG_VM_H #define MSG_VM_H +#include "simgrid/host.h" +#include "simgrid/vm.h" #include -#include "simgrid/msg.h" SG_BEGIN_DECL @@ -22,8 +23,8 @@ SG_BEGIN_DECL #endif /* end of eclipse-mandated pimple */ -void jvm_bind(JNIEnv *env, jobject jvm, msg_vm_t vm); -msg_vm_t jvm_get_native(JNIEnv *env, jobject jvm); +void jvm_bind(JNIEnv* env, jobject jvm, sg_vm_t vm); +sg_vm_t jvm_get_native(JNIEnv* env, jobject jvm); JNIEXPORT void JNICALL Java_org_simgrid_msg_VM_nativeInit(JNIEnv* env, jclass cls);