jacekpoz
d24c1d3767
I still need to make the Makefile better as it's pretty shit right now but it's alright for now I think
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
|