X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/661875a3cf8631bf02abe783b948fb8c0230b67f..9b73466ada27682d1729f394549479da83ef4a99:/src/bindings/java/jmsg_host.c diff --git a/src/bindings/java/jmsg_host.c b/src/bindings/java/jmsg_host.c index 07c908c25c..1384125ca3 100644 --- a/src/bindings/java/jmsg_host.c +++ b/src/bindings/java/jmsg_host.c @@ -1,6 +1,6 @@ /* Functions related to the java host instances. */ -/* Copyright (c) 2007-2012. The SimGrid Team. +/* Copyright (c) 2007-2013. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -189,7 +189,7 @@ Java_org_simgrid_msg_Host_getSpeed(JNIEnv * env, } JNIEXPORT jdouble JNICALL -Java_org_simgrid_msg_Host_getCore(JNIEnv * env, +Java_org_simgrid_msg_Host_getCoreNumber(JNIEnv * env, jobject jhost) { msg_host_t host = jhost_get_native(env, jhost); @@ -198,7 +198,7 @@ Java_org_simgrid_msg_Host_getCore(JNIEnv * env, return -1; } - return (jdouble) MSG_get_host_core(host); + return (jdouble) MSG_host_get_core_number(host); } JNIEXPORT jint JNICALL