[niepce] rust+bindgen: update bindgen and exclude FileList::at()



commit 7fa529f32d563ce669d8d80b3bad79a32534386e
Author: Hubert Figuière <hub figuiere net>
Date:   Thu Feb 6 17:42:49 2020 -0500

    rust+bindgen: update bindgen and exclude FileList::at()

 Cargo.lock                   | 6 +++---
 crates/npc-engine/Cargo.toml | 2 +-
 src/fwk/utils/files.hpp      | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/Cargo.lock b/Cargo.lock
index 6a4bf62..ecfe3fc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -57,7 +57,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index";
 
 [[package]]
 name = "bindgen"
-version = "0.52.0"
+version = "0.53.1"
 source = "registry+https://github.com/rust-lang/crates.io-index";
 dependencies = [
  "bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -602,7 +602,7 @@ dependencies = [
 name = "npc-engine"
 version = "0.1.0"
 dependencies = [
- "bindgen 0.52.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "bindgen 0.53.1 (registry+https://github.com/rust-lang/crates.io-index)",
  "cbindgen 0.8.4 (registry+https://github.com/rust-lang/crates.io-index)",
  "chrono 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)",
  "exempi 2.5.0 (git+https://github.com/hfiguiere/exempi-rs.git?rev=53cfc05)",
@@ -1257,7 +1257,7 @@ dependencies = [
 "checksum atk-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = 
"e552c1776737a4c80110d06b36d099f47c727335f9aaa5d942a72b6863a8ec6f"
 "checksum atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = 
"9a7d5b8723950951411ee34d271d99dddcc2035a16ab25310ea2c8cfd4369652"
 "checksum autocfg 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = 
"0e49efa51329a5fd37e7c79db4621af617cd4e3e5bc224939808d076077077bf"
-"checksum bindgen 0.52.0 (registry+https://github.com/rust-lang/crates.io-index)" = 
"f1c85344eb535a31b62f0af37be84441ba9e7f0f4111eb0530f43d15e513fe57"
+"checksum bindgen 0.53.1 (registry+https://github.com/rust-lang/crates.io-index)" = 
"99de13bb6361e01e493b3db7928085dcc474b7ba4f5481818e53a89d76b8393f"
 "checksum bitflags 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = 
"4f67931368edf3a9a51d29886d245f1c3db2f1ef0dcc9e35ff70341b78c10d23"
 "checksum bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = 
"3d155346769a6855b86399e9bc3814ab343cd3d62c7e985113d46a0ec3c281fd"
 "checksum byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = 
"a7c3dd8985a7111efc5c80b44e23ecdd8c007de8ade3b96595387e812b957cf5"
diff --git a/crates/npc-engine/Cargo.toml b/crates/npc-engine/Cargo.toml
index 0f1125a..be1e6e5 100644
--- a/crates/npc-engine/Cargo.toml
+++ b/crates/npc-engine/Cargo.toml
@@ -20,6 +20,6 @@ try_opt = "0.1.1"
 npc-fwk = { path = "../npc-fwk" }
 
 [build-dependencies]
-bindgen = "0.52"
+bindgen = "0.53.1"
 cbindgen = { version = "=0.8.4" }
 pkg-config = "0.3.9"
diff --git a/src/fwk/utils/files.hpp b/src/fwk/utils/files.hpp
index 7c53478..6fe0410 100644
--- a/src/fwk/utils/files.hpp
+++ b/src/fwk/utils/files.hpp
@@ -68,9 +68,9 @@ public:
 #if !RUST_BINDGEN
     static Ptr getFilesFromDirectory(const value_type& dir,
                                      std::function<bool (const Glib::RefPtr<Gio::FileInfo>&)> filter);
-#endif
 
     value_type at(size_type index) const;
+#endif
     const value_type::value_type* at_cstr(size_type index) const;
 #if !RUST_BINDGEN
     const_iterator begin() const;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]