/* Functions related to the java task instances. */
-/* Copyright (c) 2007, 2009, 2010. The SimGrid Team.
+/* Copyright (c) 2007-2012. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* this class is not found the function throws the exception
* NotSuchFieldException.
*/
-void jtask_bind(jobject jtask, m_task_t task, JNIEnv * env);
+void jtask_bind(jobject jtask, msg_task_t task, JNIEnv * env);
/**
* This function returns a native task from a java task instance.
* this class is not found the function throws the exception
* NotSuchFieldException.
*/
-m_task_t jtask_to_native_task(jobject jtask, JNIEnv * env);
+msg_task_t jtask_to_native_task(jobject jtask, JNIEnv * env);
/**
* This function tests if a java task instance is valid.
*/
JNIEXPORT jdouble JNICALL
Java_org_simgrid_msg_Task_getRemainingDuration(JNIEnv *, jobject);
-
+/**
+ * Class org_simgrid_msg_Task
+ * Method setName
+ * Signature (Ljava/lang/string;)V
+ */
+JNIEXPORT void JNICALL
+Java_org_simgrid_msg_Task_setName(JNIEnv *env, jobject jtask, jobject jname);
/*
* Class org_simgrid_msg_Task
* Method setPriority