X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dff9e15c44ab6340d27215957c56fa72fad246a2..a711adeffa407b15d22600c0e77d1636e5d77c90:/src/java/jmsg_task.c diff --git a/src/java/jmsg_task.c b/src/java/jmsg_task.c index af5ae1e74e..7214d2111a 100644 --- a/src/java/jmsg_task.c +++ b/src/java/jmsg_task.c @@ -1,29 +1,15 @@ -/* - * $Id$ - * - * Copyright 2006,2007 Martin Quinson, Malek Cherier All right 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. - * - * This contains the implementation of the functions in relation with the java - * task instance. - */ +/* Functions related to the java task instances. */ + +/* Copyright (c) 2007, 2009, 2010. 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. */ #include "jmsg.h" #include "jmsg_task.h" #include "jxbt_utilities.h" -jobject jtask_new_global_ref(jobject jtask, JNIEnv * env) -{ - return (*env)->NewGlobalRef(env, jtask); -} - -void jtask_delete_global_ref(jobject jtask, JNIEnv * env) -{ - (*env)->DeleteGlobalRef(env, jtask); -} - void jtask_bind(jobject jtask, m_task_t task, JNIEnv * env) { jfieldID id = jxbt_get_sfield(env, "simgrid/msg/Task", "bind", "J");