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

Method get_contiguous

src/pointers/api_bindings.py:2066–2074  ·  view source on GitHub ↗
(
        obj: PyObjectLike, buffertype: int, order: CharLike
    )

Source from the content-addressed store, hash-verified

2064 # PyMemoryView_GetContiguous
2065 @staticmethod
2066 def get_contiguous(
2067 obj: PyObjectLike, buffertype: int, order: CharLike
2068 ) -> PyObjectLike:
2069 return api_binding_base(
2070 API_FUNCS["PyMemoryView_GetContiguous"],
2071 _deref_maybe(obj),
2072 buffertype,
2073 make_char(order),
2074 )
2075
2076
2077class PyModuleDef(_CallBase):

Callers

nothing calls this directly

Calls 3

api_binding_baseFunction · 0.85
_deref_maybeFunction · 0.85
make_charFunction · 0.85

Tested by

no test coverage detected