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 5c20c0b commit c3e7827Copy full SHA for c3e7827
src/lib.rs
@@ -91,6 +91,9 @@ fn accesskit(py: Python<'_>, m: &PyModule) -> PyResult<()> {
91
Ok(())
92
}
93
94
+// The following exception is needed because this function is only used
95
+// in the bindings for some platform adapters.
96
+#[allow(dead_code)]
97
fn to_void_ptr(value: &PyAny) -> *mut c_void {
98
if let Ok(value) = value.extract::<&PyCapsule>() {
99
return value.pointer();
0 commit comments