summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
authorendeavor <endeavor@rainbowsandpwnies.com>2021-06-10 12:52:30 -0400
committerKyle Martin <krm504@nyu.edu>2021-06-15 13:15:22 -0400
commit25087f391416abda6c3614b4907d702e689e9c8d (patch)
tree708d637957208d8a3447a5b7180023518359e1e7 /rust/src
parent79e29631ab7ee86d7749792a928e1f1637e34c83 (diff)
fix BNAddStrutureBuilderMemberAtOffset which changed in 7c9ada78241e08bf36bd04d989f742a6de721575
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/types.rs2
1 files changed, 2 insertions, 0 deletions
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
);
}