Stuff and things and shit
This commit is contained in:
parent
cfe1f4d3f2
commit
e41503ad2e
1 changed files with 6 additions and 1 deletions
7
semver.c
7
semver.c
|
@ -86,7 +86,7 @@ const char *archToString(Arch self) {
|
|||
return ArchNames[self];
|
||||
}
|
||||
|
||||
int archFromString(char *s) {
|
||||
int parseArch(char *s) {
|
||||
int i;
|
||||
for (i = 0; i < 14; i++) {
|
||||
if (strncasecmp(s, ArchNames[i], 10) == 0)
|
||||
|
@ -106,6 +106,11 @@ int archFromString(char *s) {
|
|||
return -1;
|
||||
}
|
||||
|
||||
int parseVersion(Version *self, const char *s) {
|
||||
// todo
|
||||
return -1;
|
||||
}
|
||||
|
||||
char *versionToString(Version *self) {
|
||||
char *buf, *temp;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue