modfetch/include/semver.h

18 lines
269 B
C
Raw Permalink Normal View History

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;
bool sveq(semver s1, semver s2);
2024-02-10 14:11:26 +01:00
char *svtoa(semver s);
2024-02-10 14:11:26 +01:00
#endif // _MODFETCH_SEMVER_H