Fixes and formatting
This commit is contained in:
parent
e41503ad2e
commit
b035e0018a
1 changed files with 68 additions and 58 deletions
|
@ -62,6 +62,16 @@ typedef enum {
|
||||||
x86_64,
|
x86_64,
|
||||||
} Arch;
|
} Arch;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
PreReleaseTag pr_tag;
|
||||||
|
union {
|
||||||
|
uint16_t alpha;
|
||||||
|
uint16_t beta;
|
||||||
|
uint16_t rc;
|
||||||
|
GitRevision *git;
|
||||||
|
};
|
||||||
|
} PreRelease;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
VersionKindTag vk_tag;
|
VersionKindTag vk_tag;
|
||||||
union {
|
union {
|
||||||
|
@ -88,7 +98,7 @@ typedef enum {
|
||||||
} Comparison;
|
} Comparison;
|
||||||
|
|
||||||
u128 u128FromVersion(Version *self);
|
u128 u128FromVersion(Version *self);
|
||||||
Comparison compareVersion(Version *self, Version *other);
|
Comparison compareVersion (Version *self, Version *other);
|
||||||
int parseVersion(Version *self, const char *s);
|
int parseVersion (Version *self, const char *s);
|
||||||
char *versionToString(Version *self);
|
char *versionToString(Version *self);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue