summaryrefslogtreecommitdiff
path: root/plugins/pdb-ng/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pdb-ng/src/lib.rs')
-rw-r--r--plugins/pdb-ng/src/lib.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/pdb-ng/src/lib.rs b/plugins/pdb-ng/src/lib.rs
index c3bbdf5e..d37e3384 100644
--- a/plugins/pdb-ng/src/lib.rs
+++ b/plugins/pdb-ng/src/lib.rs
@@ -889,6 +889,18 @@ fn init_plugin() -> bool {
}"#,
);
+ settings.register_setting_json(
+ "pdb.features.passStructuresByValue",
+ r#"{
+ "title" : "Always Pass Structures By Value",
+ "type" : "boolean",
+ "default" : false,
+ "aliases" : [],
+ "description" : "Always pass structures by value even if they are implicitly passed by pointer in the calling convention (experimental). This more closely matches the original source code.",
+ "ignore" : []
+ }"#,
+ );
+
true
}