Sista v3.0.0-alpha.1
Sista is a C++ lightweight OS-agnostic library for terminal animations and videogames
Loading...
Searching...
No Matches
version.hpp
Go to the documentation of this file.
1
7#define SISTA_VERSION "3.0.0"
8#define SISTA_VERSION_MAJOR 3
9#define SISTA_VERSION_MINOR 0
10#define SISTA_VERSION_PATCH 0
11
12namespace sista {
22 inline const char* getVersion() {
23 return SISTA_VERSION;
24 }
34 inline int getVersionMajor() {
36 }
46 inline int getVersionMinor() {
48 }
58 inline int getVersionPatch() {
60 }
61};
Sista library namespace.
Definition: ansi.cpp:25
int getVersionMinor()
Returns the minor version number of the Sista library.
Definition: version.hpp:46
const char * getVersion()
Returns the Sista library version as a string.
Definition: version.hpp:22
int getVersionPatch()
Returns the patch version number of the Sista library.
Definition: version.hpp:58
int getVersionMajor()
Returns the major version number of the Sista library.
Definition: version.hpp:34
#define SISTA_VERSION
Definition: version.hpp:7
#define SISTA_VERSION_MAJOR
Definition: version.hpp:8
#define SISTA_VERSION_PATCH
Definition: version.hpp:10
#define SISTA_VERSION_MINOR
Definition: version.hpp:9