(
self,
c_func: "ctypes._FuncPointer",
py_func: Callable,
)
| 175 | |
| 176 | class _CFuncTransport: |
| 177 | def __init__( |
| 178 | self, |
| 179 | c_func: "ctypes._FuncPointer", |
| 180 | py_func: Callable, |
| 181 | ) -> None: |
| 182 | add_ref(c_func) |
| 183 | self._c_func = c_func |
| 184 | self._py_func = py_func |
| 185 | |
| 186 | @property |
| 187 | def c_func(self) -> "ctypes._FuncPointer": |