From 25087f391416abda6c3614b4907d702e689e9c8d Mon Sep 17 00:00:00 2001 From: endeavor Date: Thu, 10 Jun 2021 12:52:30 -0400 Subject: fix BNAddStrutureBuilderMemberAtOffset which changed in 7c9ada78241e08bf36bd04d989f742a6de721575 --- rust/src/types.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rust/src') diff --git a/rust/src/types.rs b/rust/src/types.rs index a425782e..d87978ec 100644 --- a/rust/src/types.rs +++ b/rust/src/types.rs @@ -1228,6 +1228,7 @@ impl StructureBuilder { t: T, name: S, offset: u64, + overwriteExisting: bool ) -> &'a mut Self { let name = name.as_bytes_with_nul(); unsafe { @@ -1236,6 +1237,7 @@ impl StructureBuilder { &t.into().into(), name.as_ref().as_ptr() as _, offset, + overwriteExisting ); } -- cgit v1.3.1