modfetch/semver.h

17 lines
262 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 cmpsv(semver, semver);
char *svtoa(semver);
#endif // _MODFETCH_SEMVER_H