We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
do_resolve
1 parent 05ad047 commit 06dca9aCopy full SHA for 06dca9a
src/symbolize/dbghelp.rs
@@ -218,7 +218,10 @@ unsafe fn resolve_with_inline(
218
Some(())
219
}
220
221
-/// This function is only meant to be called with SymFromAddrW as the argument
+/// This function is only meant to be called with certain Windows API functions as its arguments,
222
+/// using closures to simplify away here-unspecified arguments:
223
+/// - `sym_from_addr`: either `SymFromAddrW` or `SymFromInlineContextW`
224
+/// - `get_line_from_addr`: `SymGetLineFromAddrW64` or `SymGetLineFromInlineContextW`
225
unsafe fn do_resolve(
226
sym_from_addr: impl FnOnce(*mut SYMBOL_INFOW) -> BOOL,
227
get_line_from_addr: impl FnOnce(&mut IMAGEHLP_LINEW64) -> BOOL,
0 commit comments