mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-08 03:02:24 +00:00
Fix alpha legacy dir detection, Fix SemVer value ctor
This commit is contained in:
1 parent
bdaf1b01be
commit
d671e06c32
4 files changed
+24
-6
No files matched your search
@@ -620,7 +620,7 @@ semver_numeric (semver_t *x) {
|
||||
return num;
|
||||
}
|
||||
|
||||
static char *semver_strdup(const char *src) {
|
||||
char *semver_strdup(const char *src) {
|
||||
if (src == NULL) return NULL;
|
||||
size_t len = strlen(src) + 1;
|
||||
char *res = malloc(len);
|
||||
|
||||
@@ -98,6 +98,9 @@ semver_is_valid (const char *s);
|
||||
int
|
||||
semver_clean (char *s);
|
||||
|
||||
char *
|
||||
semver_strdup(const char *src);
|
||||
|
||||
semver_t
|
||||
semver_copy(const semver_t *ver);
|
||||
|
||||
|
||||
Reference in new issue
Block a user