mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
planner: pass in_planner argument to clear_deco()
To remove reliance on global state, pass an "in_planner" argument to clear_deco(). Thus, calls to in_planner() can be removed. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
8103e947aa
commit
03a7e65cf0
4 changed files with 6 additions and 6 deletions
|
|
@ -52,7 +52,7 @@ extern const double buehlmann_N2_t_halflife[];
|
|||
extern int deco_allowed_depth(double tissues_tolerance, double surface_pressure, const struct dive *dive, bool smooth);
|
||||
|
||||
double get_gf(struct deco_state *ds, double ambpressure_bar, const struct dive *dive);
|
||||
extern void clear_deco(struct deco_state *ds, double surface_pressure);
|
||||
extern void clear_deco(struct deco_state *ds, double surface_pressure, bool in_planner);
|
||||
extern void dump_tissues(struct deco_state *ds);
|
||||
extern void set_gf(short gflow, short gfhigh);
|
||||
extern void set_vpmb_conservatism(short conservatism);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue