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
Add msg host on/off test
[simgrid.git]
/
src
/
simix
/
smx_io.c
diff --git
a/src/simix/smx_io.c
b/src/simix/smx_io.c
index
fd61f37
..
f504da4
100644
(file)
--- a/
src/simix/smx_io.c
+++ b/
src/simix/smx_io.c
@@
-1,4
+1,4
@@
-/* Copyright (c) 2007-2010, 2012-201
3
. The SimGrid Team.
+/* Copyright (c) 2007-2010, 2012-201
4
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-29,8
+29,7
@@
smx_storage_t SIMIX_storage_create(const char *name, void *storage, void *data)
/* Update global variables */
xbt_lib_set(storage_lib,name,SIMIX_STORAGE_LEVEL,smx_storage);
/* Update global variables */
xbt_lib_set(storage_lib,name,SIMIX_STORAGE_LEVEL,smx_storage);
-
- return xbt_lib_get_or_null(storage_lib, name, SIMIX_STORAGE_LEVEL);
+ return xbt_lib_get_elm_or_null(storage_lib, name);
}
/**
}
/**
@@
-350,7
+349,7
@@
xbt_dict_t SIMIX_pre_storage_get_properties(smx_simcall_t simcall, smx_storage_t
}
xbt_dict_t SIMIX_storage_get_properties(smx_storage_t storage){
xbt_assert((storage != NULL), "Invalid parameters (simix storage is NULL)");
}
xbt_dict_t SIMIX_storage_get_properties(smx_storage_t storage){
xbt_assert((storage != NULL), "Invalid parameters (simix storage is NULL)");
- return surf_resource_get_properties(surf_
workstation
_resource_priv(storage));
+ return surf_resource_get_properties(surf_
storage
_resource_priv(storage));
}
const char* SIMIX_pre_storage_get_name(smx_simcall_t simcall, smx_storage_t storage){
}
const char* SIMIX_pre_storage_get_name(smx_simcall_t simcall, smx_storage_t storage){