Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Make EventNotifyFn public
This type alias is used in a public interface, so it should be public. The main
effect of this is that the documentation is prettier. For example,
BootServices::create_event will show a `Option<EventNotifyFn>` argument, rather
than `Option<very-long-function-signature>`.
  • Loading branch information
nicholasbishop committed Aug 6, 2024
commit 0d5a188b53eae56c1e727795f9685d0820e337a3
4 changes: 2 additions & 2 deletions uefi/src/table/boot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1616,8 +1616,8 @@ impl<'guid> SearchType<'guid> {
}
}

/// Raw event notification function
type EventNotifyFn = unsafe extern "efiapi" fn(event: Event, context: Option<NonNull<c_void>>);
/// Event notification callback type.
pub type EventNotifyFn = unsafe extern "efiapi" fn(event: Event, context: Option<NonNull<c_void>>);

/// Timer events manipulation.
#[derive(Debug)]
Expand Down