From b7ccdcaa03f358784d21a5b8972d1f0b92d77bf8 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Mon, 6 Jan 2025 08:29:12 -0600 Subject: [PATCH] Update crates/libs/bindgen/src/types/cpp_method.rs --- crates/libs/bindgen/src/types/cpp_method.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/libs/bindgen/src/types/cpp_method.rs b/crates/libs/bindgen/src/types/cpp_method.rs index 8bd368a807..25ee38af52 100644 --- a/crates/libs/bindgen/src/types/cpp_method.rs +++ b/crates/libs/bindgen/src/types/cpp_method.rs @@ -825,6 +825,8 @@ fn is_param_retval(ty: &Type, param: Param, hint: ParamHint) -> bool { { return false; } + // This is reevaluated to detect unsupported array parameters. + // https://github.com/microsoft/windows-rs/issues/3384 if ParamHint::from_param(param).is_array() { return false; }