MCPcopy Create free account
hub / github.com/ZeroIntensity/pointers.py / _CFuncTransport

Class _CFuncTransport

src/pointers/bindings.py:176–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174
175
176class _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":
188 return self._c_func
189
190 @property
191 def py_func(self) -> Callable:
192 return self._py_func
193
194
195def _decode_type(

Callers 1

_solve_funcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected