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

Method to_contiguous

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

Source from the content-addressed store, hash-verified

253 # PyBuffer_ToContiguous
254 @staticmethod
255 def to_contiguous(
256 buf: PointerLike, src: StructPointer[Buffer], len: int, order: CharLike
257 ) -> int:
258 return api_binding_base(
259 API_FUNCS["PyBuffer_ToContiguous"], buf, src, len, make_char(order)
260 )
261
262
263class PyByteArray(_CallBase):

Callers

nothing calls this directly

Calls 2

api_binding_baseFunction · 0.85
make_charFunction · 0.85

Tested by

no test coverage detected