X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e0188e2a2598ce57a4d21a3d7eb5f303aecaf0dd..d0ffc37686edcc803601f76ab51fdfed5fc2f241:/src/bindings/java/jmsg_vm.h diff --git a/src/bindings/java/jmsg_vm.h b/src/bindings/java/jmsg_vm.h index 4933969e43..6bf42848e3 100644 --- a/src/bindings/java/jmsg_vm.h +++ b/src/bindings/java/jmsg_vm.h @@ -1,10 +1,10 @@ /* Functions related to the MSG VM API. */ -/* Copyright (c) 2012. The SimGrid Team. */ +/* Copyright (c) 2012-2013. 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. */ - + * under the terms of the license (GNU LGPL) which comes with this package. */ #ifndef MSG_VM_H #define MSG_VM_H @@ -12,8 +12,6 @@ #include #include "msg/msg.h" -jfieldID jvm_field_bind; - void jvm_bind(JNIEnv *env, jobject jvm, msg_vm_t vm); msg_vm_t jvm_get_native(JNIEnv *env, jobject jvm); @@ -102,4 +100,6 @@ Java_org_simgrid_msg_VM_shutdown(JNIEnv *env, jobject jvm); JNIEXPORT void JNICALL Java_org_simgrid_msg_VM_reboot(JNIEnv *env, jobject jvm); +JNIEXPORT jobject JNICALL +Java_org_simgrid_msg_VM_get_pm(JNIEnv *env, jobject jvm); #endif