diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-06-25 21:26:51 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-07-18 06:00:58 -0700 |
commit | efdb3503eadd7e47cb64b1c252e50488d2e9d0fe (patch) | |
tree | 35e33cccad6309f71b642c6dcc952c7ceb2bb195 /core/equipment.h | |
parent | ca4103ea6afbfe32f78544fde69479f8c21c3393 (diff) | |
download | subsurface-efdb3503eadd7e47cb64b1c252e50488d2e9d0fe.tar.gz |
Core: Implement same_weightsystem() function to compare weights
This will be used later when joining and editing dives.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/equipment.h')
-rw-r--r-- | core/equipment.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/equipment.h b/core/equipment.h index f498a3738..4e1585c1f 100644 --- a/core/equipment.h +++ b/core/equipment.h @@ -47,6 +47,7 @@ typedef struct extern int cylinderuse_from_text(const char *text); extern void add_cylinder_description(const cylinder_type_t *); extern void add_weightsystem_description(const weightsystem_t *); +extern bool same_weightsystem(weightsystem_t w1, weightsystem_t w2); extern bool cylinder_nodata(const cylinder_t *cyl); extern bool cylinder_none(const cylinder_t *cyl); extern bool weightsystem_none(const weightsystem_t *ws); |