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,
|
||||
} Arch;
|
||||
|
||||
typedef struct {
|
||||
PreReleaseTag pr_tag;
|
||||
union {
|
||||
uint16_t alpha;
|
||||
uint16_t beta;
|
||||
uint16_t rc;
|
||||
GitRevision *git;
|
||||
};
|
||||
} PreRelease;
|
||||
|
||||
typedef struct {
|
||||
VersionKindTag vk_tag;
|
||||
union {
|
||||
|
@ -88,7 +98,7 @@ typedef enum {
|
|||
} Comparison;
|
||||
|
||||
u128 u128FromVersion(Version *self);
|
||||
Comparison compareVersion(Version *self, Version *other);
|
||||
int parseVersion(Version *self, const char *s);
|
||||
Comparison compareVersion (Version *self, Version *other);
|
||||
int parseVersion (Version *self, const char *s);
|
||||
char *versionToString(Version *self);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue