MCPcopy Index your code
hub / github.com/ZeroIntensity/pointers.py / from_contiguous

Method from_contiguous

src/pointers/api_bindings.py:222–227  ·  view source on GitHub ↗
(
        view: StructPointer[Buffer], buf: PointerLike, len: int, fort: CharLike
    )

Source from the content-addressed store, hash-verified

220 # PyBuffer_FromContiguous
221 @staticmethod
222 def from_contiguous(
223 view: StructPointer[Buffer], buf: PointerLike, len: int, fort: CharLike
224 ) -> int:
225 return api_binding_base(
226 API_FUNCS["PyBuffer_FromContiguous"], view, buf, len, make_char(fort)
227 )
228
229 # PyBuffer_GetPointer
230 @staticmethod

Callers

nothing calls this directly

Calls 2

api_binding_baseFunction · 0.85
make_charFunction · 0.85

Tested by

no test coverage detected