2024-02-10 14:11:26 +01:00
|
|
|
#ifndef _MODFETCH_SEMVER_H
|
|
|
|
#define _MODFETCH_SEMVER_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
uint8_t major;
|
|
|
|
uint8_t minor;
|
|
|
|
uint8_t patch;
|
|
|
|
} semver;
|
|
|
|
|
2024-02-11 17:48:01 +01:00
|
|
|
bool sveq(semver, semver);
|
2024-02-10 14:11:26 +01:00
|
|
|
|
|
|
|
char *svtoa(semver);
|
|
|
|
|
|
|
|
#endif // _MODFETCH_SEMVER_H
|