Berthold Stoeger
360f07e453
Cleanup: pass gasmix by value
...
In a previous commit, the get_gasmix_* functions were changed to
return by value. For consistency, also pass gasmix by value.
Note that on common 64-bit platforms struct gasmix is the size
of a pointer [2 * 32 bit vs. 64 bit] and therefore uses the
same space on the stack. On 32-bit platforms, the stack use
is probably doubled, but in return a dereference is avoided.
Supporting arbitrary gas-mixes (H2, Ar, ...) will be such an
invasive change that going back to pointers is probably the
least of our worries.
This commit is a step in const-ifying input parameters (passing
by value is the ultimate way of signaling that the input parameter
will not be changed [unless there are references to said parameter]).
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2018-08-23 05:16:38 -07:00
..
2015-10-30 10:36:49 -07:00
2018-08-15 16:11:39 -07:00
2018-08-15 16:11:39 -07:00
2018-08-01 06:30:00 -07:00
2018-08-23 05:16:38 -07:00
2017-12-30 08:23:22 -08:00
2017-04-29 13:32:55 -07:00
2017-11-30 23:14:46 -08:00
2018-07-18 02:11:16 +03:00
2018-08-01 06:30:00 -07:00
2017-11-16 14:26:51 +01:00
2018-07-04 02:27:36 +08:00
2018-08-15 16:11:39 -07:00
2018-08-01 06:30:00 -07:00
2018-04-27 21:33:47 +03:00
2017-11-30 23:14:46 -08:00
2018-06-17 06:53:13 +09:00
2018-06-17 06:53:13 +09:00
2017-11-30 23:14:46 -08:00
2018-07-30 12:21:17 -07:00
2018-08-01 06:30:00 -07:00
2018-08-23 05:16:38 -07:00
2018-06-04 08:50:10 -07:00
2017-11-30 23:14:46 -08:00
2018-05-21 12:48:04 -07:00
2017-04-29 13:32:55 -07:00
2017-11-30 23:14:46 -08:00
2018-07-18 09:06:37 -07:00
2018-08-01 06:30:00 -07:00
2018-08-15 16:11:39 -07:00
2018-07-31 11:02:34 +02:00
2018-03-02 08:38:22 -08:00
2018-06-16 04:02:47 -07:00
2017-05-27 11:07:20 -07:00
2015-10-30 10:36:49 -07:00
2018-08-15 16:11:39 -07:00
2017-11-11 21:01:42 +01:00
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2018-07-15 09:38:12 -07:00
2018-07-04 02:27:36 +08:00
2018-07-15 09:38:12 -07:00
2018-01-10 16:45:42 +01:00
2018-08-01 06:30:00 -07:00
2017-04-29 13:32:55 -07:00
2018-08-01 06:30:00 -07:00
2017-12-30 08:15:11 -08:00
2018-06-26 08:06:07 +02:00
2018-08-01 06:30:00 -07:00
2018-01-27 12:29:00 -08:00
2018-08-15 16:11:39 -07:00
2018-07-31 11:02:34 +02:00
2018-07-15 09:38:12 -07:00
2018-07-12 08:08:00 -07:00
2017-11-09 12:40:25 -08:00
2018-06-24 20:31:14 +02:00
2018-08-01 06:30:00 -07:00
2018-01-31 14:47:26 +01:00
2018-01-31 14:47:26 +01:00
2017-02-24 01:06:09 -08:00
2017-11-13 11:53:55 +01:00
2018-05-21 12:48:04 -07:00
2018-07-31 11:02:34 +02:00
2018-08-15 16:11:39 -07:00
2017-04-29 13:32:55 -07:00
2018-06-04 08:50:10 -07:00
2017-12-29 09:14:20 -08:00
2015-10-30 10:36:49 -07:00
2015-10-30 10:36:49 -07:00
2015-10-30 10:36:49 -07:00
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2018-07-15 09:38:12 -07:00
2017-11-30 23:14:46 -08:00
2018-07-30 12:21:17 -07:00
2018-08-01 06:30:00 -07:00
2018-07-30 12:20:26 -07:00
2018-08-01 06:30:00 -07:00
2018-07-21 07:49:25 -07:00
2018-08-01 06:30:00 -07:00
2017-11-30 23:14:46 -08:00
2018-08-01 06:30:00 -07:00
2015-10-30 10:36:49 -07:00
2017-11-17 09:19:03 +01:00
2017-04-29 13:32:55 -07:00
2018-05-23 13:29:37 +03:00
2017-04-29 13:32:55 -07:00
2017-03-12 09:19:03 -07:00
2018-06-04 08:50:10 -07:00
2018-07-04 05:33:31 +08:00
2018-07-19 02:43:08 +03:00
2018-08-01 06:30:00 -07:00
2018-08-15 16:11:39 -07:00
2017-04-29 13:32:55 -07:00
2018-07-15 09:38:12 -07:00
2018-06-04 08:50:10 -07:00
2018-05-31 21:29:29 +03:00
2018-06-04 08:50:10 -07:00
2017-04-29 13:32:55 -07:00
2017-03-06 06:40:00 -08:00
2017-11-30 23:14:46 -08:00