Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change the type of globals to pointer-of-the-type.
[simgrid.git] / src / smpi / replace_globals.cocci
index f93cafc..591f27d 100644 (file)
@@ -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