diff options
author | Robert C. Helling <helling@atdotde.de> | 2019-01-01 18:02:04 +0100 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2019-01-08 10:39:06 +0100 |
commit | c349692d984f417bf56f5fecb8f733d8fb007518 (patch) | |
tree | d66682b3d0426ad03bc9d53f6190c0023e0fd344 /core/dive.h | |
parent | f1fc89b978c178fcd0f4f3ddb7629dc7df0d939d (diff) | |
download | subsurface-c349692d984f417bf56f5fecb8f733d8fb007518.tar.gz |
Helper function to determined planned dives
... to reduce code duplication.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/dive.h')
-rw-r--r-- | core/dive.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/dive.h b/core/dive.h index 0f6d72a81..f447c88b5 100644 --- a/core/dive.h +++ b/core/dive.h @@ -652,6 +652,7 @@ extern void nuclear_regeneration(struct deco_state *ds, double time); extern void vpmb_start_gradient(struct deco_state *ds); extern void vpmb_next_gradient(struct deco_state *ds, double deco_time, double surface_pressure); extern double tissue_tolerance_calc(struct deco_state *ds, const struct dive *dive, double pressure); +extern bool is_dc_planner(const struct divecomputer *dc); /* this should be converted to use our types */ struct divedatapoint { |