core: C++-ify SHA1 interface

All callers of the SHA1 code are C++. Might just as well use
a C++ like interface.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-04-23 21:30:40 +08:00 committed by bstoeger
parent 729356e0b1
commit 21f68387ae
6 changed files with 71 additions and 78 deletions

View file

@ -91,7 +91,7 @@ SOURCES += subsurface-mobile-main.cpp \
core/gas.c \
core/membuffer.cpp \
core/selection.cpp \
core/sha1.c \
core/sha1.cpp \
core/string-format.cpp \
core/strtod.cpp \
core/tag.cpp \