modfetch/semver.h
jacekpoz 2695a19da4
cpmsv -> sveq
this name represents the function better I think
2024-02-11 17:48:01 +01:00

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