mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Update esplugin to 4.0.0
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ set(GTEST_LIBRARIES "${BINARY_DIR}/lib/${CMAKE_CFG_INTDIR}/${CMAKE_STATIC_LIBRAR
|
||||
|
||||
ExternalProject_Add(esplugin
|
||||
PREFIX "external"
|
||||
URL "https://github.com/Ortham/esplugin/archive/3.5.0.tar.gz"
|
||||
URL "https://github.com/Ortham/esplugin/archive/4.0.0.tar.gz"
|
||||
CONFIGURE_COMMAND ""
|
||||
BUILD_IN_SOURCE 1
|
||||
BUILD_COMMAND cargo build --release --manifest-path ffi/Cargo.toml --target ${RUST_TARGET} &&
|
||||
|
||||
+1
-1
@@ -113,7 +113,7 @@ std::optional<std::string> Plugin::GetVersion() const {
|
||||
|
||||
std::vector<std::string> Plugin::GetMasters() const {
|
||||
char** masters = nullptr;
|
||||
uint8_t numMasters = 0;
|
||||
size_t numMasters = 0;
|
||||
const auto ret = esp_plugin_masters(esPlugin.get(), &masters, &numMasters);
|
||||
if (ret != ESP_OK) {
|
||||
throw FileAccessError(name_ +
|
||||
|
||||
Reference in New Issue
Block a user