summaryrefslogtreecommitdiffstats
path: root/SupportedDivecomputers.txt
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-09-19 13:30:56 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-03 10:53:26 -0700
commit90ca6353167071af57028975dc650cd027605372 (patch)
treec66500fceb7431c0390d23ae94b27f31b8523e29 /SupportedDivecomputers.txt
parentce7e74f62f378eae9cc473db76b10a748f5607b4 (diff)
downloadsubsurface-90ca6353167071af57028975dc650cd027605372.tar.gz
cleanup: use getDCExact() instead of callback in set_dc_deviceid()
core/device.c used to be a C file, which couldn't access the C++ divecomputer list directly. Therefore, instead of a simple loop, searching for a matching DC was implemented via a callback with void * user data parameter. Wild. Since the file is now C++, let's just use direct access to the C++ data structures to make this readable by mere humans. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'SupportedDivecomputers.txt')
0 files changed, 0 insertions, 0 deletions