From eaa955a87b0f61c80fc4dc97d85f6ad77fb480fe Mon Sep 17 00:00:00 2001 From: Isaiah Inuwa Date: Thu, 19 Feb 2026 07:51:46 -0600 Subject: [PATCH] Capture doc comments for webauthn.dll function definitions --- apps/desktop/desktop_native/win_webauthn/src/util.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/desktop/desktop_native/win_webauthn/src/util.rs b/apps/desktop/desktop_native/win_webauthn/src/util.rs index f8b1fa9fb2d..b5b00d95e71 100644 --- a/apps/desktop/desktop_native/win_webauthn/src/util.rs +++ b/apps/desktop/desktop_native/win_webauthn/src/util.rs @@ -9,7 +9,8 @@ use windows::{ use crate::{ErrorKind, WinWebAuthnError}; macro_rules! webauthn_call { - ($symbol:literal as fn $fn_name:ident($($arg:ident: $arg_type:ty),+) -> $result_type:ty) => ( + ($symbol:literal as $(#[$attr:meta])* fn $fn_name:ident($($arg:ident: $arg_type:ty),+) -> $result_type:ty) => ( + $(#[$attr])* pub(super) unsafe fn $fn_name($($arg: $arg_type),*) -> Result<$result_type, crate::WinWebAuthnError> { let library = crate::util::load_webauthn_lib()?; let response = unsafe {