mirror of
https://github.com/knightfox75/nds_nflib.git
synced 2025-06-18 16:55:32 -04:00
library: Start using semver
The library has never had a version number based on semver, so the first tagged release will be 1.0.0 and it will define the first stable API. This versioning strategy makes it easier to detect incompatibilities between library versions. Information about semver 2.0.0: https://semver.org/
This commit is contained in:
parent
64768e92d8
commit
9e31687288
@ -27,6 +27,19 @@ extern "C" {
|
||||
#include <nf_text.h>
|
||||
#include <nf_tiledbg.h>
|
||||
|
||||
/// Major version of NightFox's Lib
|
||||
#define NF_LIB_MAJOR (1)
|
||||
/// Minor version of NightFox's Lib
|
||||
#define NF_LIB_MINOR (0)
|
||||
/// Patch version of NightFox's Lib
|
||||
#define NF_LIB_PATCH (0)
|
||||
|
||||
/// Full version of NightFox's Lib
|
||||
#define NF_LIB_VERSION ((NF_LIB_MAJOR << 16) | (NF_LIB_MINOR << 8) | (NF_LIB_PATCH))
|
||||
|
||||
/// String with the version of NightFox's Lib
|
||||
#define NF_LIB_VERSION_STRING "1.0.0"
|
||||
|
||||
#endif // NF_LIB_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user