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
Change the type of globals to pointer-of-the-type.
[simgrid.git]
/
src
/
smpi
/
replace_globals.cocci
diff --git
a/src/smpi/replace_globals.cocci
b/src/smpi/replace_globals.cocci
index
f93cafc
..
591f27d
100644
(file)
--- a/
src/smpi/replace_globals.cocci
+++ b/
src/smpi/replace_globals.cocci
@@
-33,11
+33,13
@@
expression E;
@@
(
T
++ *
b@p
+ = SMPI_INITIALIZE_GLOBAL(b, T)
;
|
-T
+T
++ *
b@p =
+ SMPI_INITIALIZE_AND_SET_GLOBAL(b, T,
E