Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
small cleanups in the s4u::Activities
[simgrid.git] / src / bindings / java / jmsg_storage.h
index ea6dc3651e5f0754e1da3d22e954a93e28280bcd..183e1099e7e12a4e06553793f64133012c89fece 100644 (file)
@@ -1,6 +1,6 @@
 /* Java bindings of the Storage API.                                        */
 
-/* Copyright (c) 2012-2017. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2012-2020. 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. */
@@ -11,7 +11,7 @@
 #include "simgrid/msg.h"
 #include <jni.h>
 
-SG_BEGIN_DECL()
+SG_BEGIN_DECL
 
 /** Returns a new java instance of a storage. */
 jobject jstorage_new_instance(JNIEnv * env);
@@ -31,9 +31,6 @@ jobject jstorage_ref(JNIEnv * env, jobject jstorage);
 /** Release a ref onto the java instance */
 void jstorage_unref(JNIEnv * env, jobject jstorage);
 
-/** Get the name of a java instance. */
-const char *jstorage_get_name(jobject jstorage, JNIEnv * env);
-
 /* Implement the Java API */
 
 JNIEXPORT jobject JNICALL Java_org_simgrid_msg_Storage_getByName(JNIEnv* env, jclass cls, jstring jname);
@@ -46,5 +43,5 @@ JNIEXPORT void JNICALL Java_org_simgrid_msg_Storage_setProperty(JNIEnv* env, job
 JNIEXPORT jobject JNICALL Java_org_simgrid_msg_Storage_getHost(JNIEnv * env,jobject jstorage);
 JNIEXPORT jobjectArray JNICALL Java_org_simgrid_msg_Storage_all(JNIEnv *env, jclass cls);
 
-SG_END_DECL()
+SG_END_DECL
 #endif