/* Functions related to the java host instances. */
-/* Copyright (c) 2007-2012. The SimGrid Team.
+/* Copyright (c) 2007-2014. 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. */
#include "xbt/str.h"
#include "msg/msg.h"
}
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);
return -1;
}
- return (jdouble) MSG_get_host_core(host);
+ return (jdouble) MSG_host_get_core_number(host);
}
JNIEXPORT jint JNICALL