adapt: adapt 1.20.72

This commit is contained in:
Tsubasa6848
2024-03-28 00:06:06 +08:00
Unverified
parent e799b2a0c9
commit c65c72d51e
10 changed files with 133 additions and 9 deletions
+2 -2
View File
@@ -158,8 +158,8 @@ void Export_Compatibility_API() {
return false;
});
RemoteCall::exportAs("GMLIB_API", "isVersionMatched", [](int a, int b, int c) -> bool {
auto version = SemVersion(a, b, c, "", "");
return LIB_VERSION.satisfies(version);
auto version = GMLIB::Version(a, b, c, "", "");
return version >= LIB_VERSION;
});
RemoteCall::exportAs("GMLIB_API", "getVersion_LRCA", []() -> std::string { return LIB_VERSION.asString(); });
RemoteCall::exportAs("GMLIB_API", "getVersion_GMLIB", []() -> std::string {