subsurface/core/version.cpp
Berthold Stoeger c84e0aa1c3 core: convert version.c to C++
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-06-08 19:17:33 +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;
}