From: pini Date: Mon, 17 Jan 2011 11:27:39 +0000 (+0000) Subject: Change the type of globals to pointer-of-the-type. X-Git-Tag: v3.6_beta2~511 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/9e3bf4095effa793b9a28be8b13352b863d2482f Change the type of globals to pointer-of-the-type. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9417 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/smpi/replace_globals.cocci b/src/smpi/replace_globals.cocci index f93cafc4cb..591f27dcce 100644 --- 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