XArith
version.hpp
Go to the documentation of this file.
1 // SPDX-License-Identifier: Apache-2.0
2 // Copyright 2026 XCENA Inc.
3 
4 #pragma once
5 
16 #define XARITH_VERSION_MAJOR 0
17 #define XARITH_VERSION_MINOR 3
18 #define XARITH_VERSION_PATCH 0
19 #define XARITH_VERSION "0.3.0"
20 #define XARITH_GIT_COMMIT "9f1ecea9"
21 
22 namespace xarith
23 {
24 
30 const char* get_version() noexcept;
31 
37 const char* get_git_commit() noexcept;
38 
39 } // namespace xarith
const char * get_version() noexcept
Get the linked device library's major.minor.patch version.
const char * get_git_commit() noexcept
Get the library's short Git commit hash, or "unknown" without Git metadata.