A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
constify MPI_Topo*
[simgrid.git]
/
src
/
smpi
/
bindings
/
smpi_pmpi_info.cpp
diff --git
a/src/smpi/bindings/smpi_pmpi_info.cpp
b/src/smpi/bindings/smpi_pmpi_info.cpp
index
8986068
..
ca08ebf
100644
(file)
--- a/
src/smpi/bindings/smpi_pmpi_info.cpp
+++ b/
src/smpi/bindings/smpi_pmpi_info.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2007-201
8
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2007-201
9
. 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. */
/* 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. */
@@
-17,7
+17,7
@@
int PMPI_Info_create( MPI_Info *info){
return MPI_SUCCESS;
}
return MPI_SUCCESS;
}
-int PMPI_Info_set( MPI_Info info, c
har *key,
char *value){
+int PMPI_Info_set( MPI_Info info, c
onst char *key, const
char *value){
if (info == nullptr || key == nullptr || value == nullptr)
return MPI_ERR_ARG;
info->set(key, value);
if (info == nullptr || key == nullptr || value == nullptr)
return MPI_ERR_ARG;
info->set(key, value);
@@
-32,7
+32,7
@@
int PMPI_Info_free( MPI_Info *info){
return MPI_SUCCESS;
}
return MPI_SUCCESS;
}
-int PMPI_Info_get(MPI_Info info,char *key,int valuelen, char *value, int *flag){
+int PMPI_Info_get(MPI_Info info,
const
char *key,int valuelen, char *value, int *flag){
*flag=false;
if (info == nullptr || key == nullptr || valuelen <0)
return MPI_ERR_ARG;
*flag=false;
if (info == nullptr || key == nullptr || valuelen <0)
return MPI_ERR_ARG;
@@
-48,7
+48,7
@@
int PMPI_Info_dup(MPI_Info info, MPI_Info *newinfo){
return MPI_SUCCESS;
}
return MPI_SUCCESS;
}
-int PMPI_Info_delete(MPI_Info info, char *key){
+int PMPI_Info_delete(MPI_Info info, c
onst c
har *key){
if (info == nullptr || key==nullptr)
return MPI_ERR_ARG;
return info->remove(key);
if (info == nullptr || key==nullptr)
return MPI_ERR_ARG;
return info->remove(key);
@@
-66,7
+66,7
@@
int PMPI_Info_get_nthkey( MPI_Info info, int n, char *key){
return info->get_nthkey(n, key);
}
return info->get_nthkey(n, key);
}
-int PMPI_Info_get_valuelen( MPI_Info info, char *key, int *valuelen, int *flag){
+int PMPI_Info_get_valuelen( MPI_Info info, c
onst c
har *key, int *valuelen, int *flag){
*flag=false;
if (info == nullptr || key == nullptr || valuelen==nullptr)
return MPI_ERR_ARG;
*flag=false;
if (info == nullptr || key == nullptr || valuelen==nullptr)
return MPI_ERR_ARG;