subsurface/core/version.cpp
Berthold Stoeger 0b817e468a core: convert version.c to C++
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00

13 lines
335 B
C++

// SPDX-License-Identifier: GPL-2.0
#include "ssrf-version.h"
// let's leave the two redundant functions in case we change our minds on git SHAs
extern "C" const char *subsurface_git_version(void)
{
return CANONICAL_VERSION_STRING_4;
}
extern "C" const char *subsurface_canonical_version(void)
{
return CANONICAL_VERSION_STRING;
}