pressure-vessel: Remap preloadable modules better
Compare changes
- Simon McVittie authored
I think this makes it a bit clearer what's going on: we populate one list (currently a PreloadModule[]) from the command-line options, then translate it to form a second list (in -wrap it's a plain GPtrArray, in -adverb it's implicit in the environment variables we're setting). Signed-off-by:
Simon McVittie <smcv@collabora.com>
+ 28
− 45
@@ -719,7 +719,12 @@ static PreloadModule opt_preload_modules[] =
@@ -1325,6 +1330,7 @@ main (int argc,
@@ -2085,6 +2091,8 @@ main (int argc,
@@ -2093,13 +2101,12 @@ main (int argc,
@@ -2142,9 +2149,10 @@ main (int argc,
@@ -2165,9 +2173,10 @@ main (int argc,
@@ -2189,9 +2198,10 @@ main (int argc,
@@ -2212,9 +2222,10 @@ main (int argc,
@@ -2624,36 +2635,7 @@ main (int argc,
@@ -2796,6 +2778,7 @@ out: