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

Method __init__

src/pointers/bindings.py:177–184  ·  view source on GitHub ↗
(
        self,
        c_func: "ctypes._FuncPointer",
        py_func: Callable,
    )

Source from the content-addressed store, hash-verified

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":

Callers

nothing calls this directly

Calls 1

add_refFunction · 0.85

Tested by

no test coverage detected