17 lines
269 B
C
17 lines
269 B
C
#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);
|
|
|
|
char *svtoa(semver s);
|
|
|
|
#endif // _MODFETCH_SEMVER_H
|