summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
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
);
}