Update esplugin to 4.0.0

This commit is contained in:
Oliver Hamlet
2022-09-15 22:47:10 +01:00
parent cc0f630bf2
commit 950d47a9e3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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_ +