diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-07-05 23:29:34 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-07-18 05:50:22 -0700 |
commit | f145b116f0a390d0ccd5440a0d5cb58d70aa5165 (patch) | |
tree | ad0c3ee7792ae5a3134177ba5c4f4e236517e46c /core/subsurface-qt | |
parent | 39ede7e9e85e92cfd5b93e32237c6899e595fcfa (diff) | |
download | subsurface-f145b116f0a390d0ccd5440a0d5cb58d70aa5165.tar.gz |
Cleanup: make the plot-pressure type an enum
Sadly, this doesn't give any type safety. But at least it documents
the function arguments.
Make the last item in the enum as a number-of-pressure-entries
sentinel. Use that to size the pressure-values array.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/subsurface-qt')
0 files changed, 0 insertions, 0 deletions