modfetch/semver.h

18 lines
261 B
C
Raw 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, semver);
2024-02-10 14:11:26 +01:00
char *svtoa(semver);
#endif // _MODFETCH_SEMVER_H