Files
c-periphery/src/version.h
Vanya A. Sergeev d67a7dcc1f
Some checks failed
Build / build (/usr/bin/clang) (push) Has been cancelled
Build / build (/usr/bin/gcc) (push) Has been cancelled
Buildroot / build (push) Has been cancelled
update version to v2.5.0
2025-10-19 02:44:40 -05:00

39 lines
659 B
C

/*
* c-periphery
* https://github.com/vsergeev/c-periphery
* License: MIT
*/
#ifndef _PERIPHERY_VERSION_H
#define _PERIPHERY_VERSION_H
#ifdef __cplusplus
extern "C" {
#endif
#define PERIPHERY_VERSION_MAJOR 2
#define PERIPHERY_VERSION_MINOR 5
#define PERIPHERY_VERSION_PATCH 0
#ifndef PERIPHERY_VERSION_COMMIT
#define PERIPHERY_VERSION_COMMIT "unknown"
#endif
typedef struct periphery_version {
unsigned int major;
unsigned int minor;
unsigned int patch;
const char *commit_id;
} periphery_version_t;
const char *periphery_version(void);
const periphery_version_t *periphery_version_info(void);
#ifdef __cplusplus
}
#endif
#endif