From ea82d201e7efb2065d0cea459bea0fcda1985762 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 19 May 2026 20:01:42 -0400 Subject: Refactor calling convention Rust API to allow default implementations Also implements the new calling convention APIs in Rust --- plugins/pdb-ng/src/type_parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/pdb-ng/src/type_parser.rs b/plugins/pdb-ng/src/type_parser.rs index dde34bde..7805cbc4 100644 --- a/plugins/pdb-ng/src/type_parser.rs +++ b/plugins/pdb-ng/src/type_parser.rs @@ -2421,7 +2421,7 @@ impl<'a, S: Source<'a> + 'a> PDBParserInstance<'a, S> { // that the calling convention can determine this by default let default_return_location = convention .contents - .return_value_location(self.bv, return_value.clone()); + .return_value_location(Some(self.bv), &return_value); if default_return_location.indirect { None } else { -- cgit v1.3.1