summaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-05 21:24:31 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-16 14:26:37 -0700
commit7415824a8c6a650bba185686f389b34bcd3ea854 (patch)
tree27478be816d1f0fdcb2ee5cbacc5e98c41825dfd /android
parent74b8d13672284136e7192645c2ba190f3e0b6f70 (diff)
downloadsubsurface-7415824a8c6a650bba185686f389b34bcd3ea854.tar.gz
core: use C accessors in core/libdivecomputer.c instead of callback
Searching the proper device for the divecomputer was done via a callback. Very hard to follow code. Since we can now access "struct device" from C, obtain it directly via get_device_for_dc(). Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'android')
0 files changed, 0 insertions, 0 deletions