Sista v3.1.0
C++ lightweight OS-agnostic library for terminal animations and videogames
Loading...
Searching...
No Matches
version.hpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025-2026 FLAK-ZOSO <mattia.marchese.2006@gmail.com>
3 * SPDX-License-Identifier: GPL-3.0-only
4 */
5
12#define SISTA_VERSION "3.1.0"
13#define SISTA_VERSION_MAJOR 3
14#define SISTA_VERSION_MINOR 1
15#define SISTA_VERSION_PATCH 0
16
17namespace sista {
27 inline const char* getVersion() {
28 return SISTA_VERSION;
29 }
39 inline int getVersionMajor() {
41 }
51 inline int getVersionMinor() {
53 }
63 inline int getVersionPatch() {
65 }
66};
Sista library namespace.
Definition ansi.cpp:31
int getVersionMinor()
Returns the minor version number of the Sista library.
Definition version.hpp:51
const char * getVersion()
Returns the Sista library version as a string.
Definition version.hpp:27
int getVersionPatch()
Returns the patch version number of the Sista library.
Definition version.hpp:63
int getVersionMajor()
Returns the major version number of the Sista library.
Definition version.hpp:39
#define SISTA_VERSION
Definition version.hpp:12
#define SISTA_VERSION_MAJOR
Definition version.hpp:13
#define SISTA_VERSION_PATCH
Definition version.hpp:15
#define SISTA_VERSION_MINOR
Definition version.hpp:14