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

Method get_pointer

src/pointers/api_bindings.py:410–413  ·  view source on GitHub ↗
(capsule: PyObjectLike, name: StringLike)

Source from the content-addressed store, hash-verified

408 # PyCapsule_GetPointer
409 @staticmethod
410 def get_pointer(capsule: PyObjectLike, name: StringLike) -> PointerLike:
411 return api_binding_base(
412 API_FUNCS["PyCapsule_GetPointer"], _deref_maybe(capsule), make_string(name)
413 )
414
415 # PyCapsule_Import
416 @staticmethod

Callers

nothing calls this directly

Calls 3

api_binding_baseFunction · 0.85
_deref_maybeFunction · 0.85
make_stringFunction · 0.85

Tested by

no test coverage detected