(
fun: &Bound<'py, PyCFunction>,
)
| 166 | |
| 167 | #[pyfunction] |
| 168 | fn function_with_pycfunction_arg<'py>( |
| 169 | fun: &Bound<'py, PyCFunction>, |
| 170 | ) -> PyResult<Bound<'py, PyAny>> { |
| 171 | fun.call((), None) |
| 172 | } |
| 173 | |
| 174 | #[test] |
| 175 | fn test_functions_with_function_args() { |