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.
1 parent df3ee5d commit ba6ad26Copy full SHA for ba6ad26
bindings/c/src/macos.rs
@@ -137,6 +137,15 @@ impl macos_subclassing_adapter {
137
}
138
139
/// This function takes ownership of `handler`.
140
+ ///
141
+ /// # Safety
142
143
+ /// `window` must be a valid, unreleased pointer to an `NSWindow`.
144
145
+ /// # Panics
146
147
+ /// This function panics if the specified window doesn't currently have
148
+ /// a content view.
149
#[no_mangle]
150
pub unsafe extern "C" fn accesskit_macos_subclassing_adapter_for_window(
151
window: *mut c_void,
0 commit comments