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

Method new

src/pointers/api_bindings.py:431–436  ·  view source on GitHub ↗
(
        pointer: PointerLike, name: StringLike, destructor: PointerLike
    )

Source from the content-addressed store, hash-verified

429 # PyCapsule_New
430 @staticmethod
431 def new(
432 pointer: PointerLike, name: StringLike, destructor: PointerLike
433 ) -> PyObjectLike:
434 return api_binding_base(
435 API_FUNCS["PyCapsule_New"], pointer, make_string(name), destructor
436 )
437
438 # PyCapsule_SetContext
439 @staticmethod

Callers

nothing calls this directly

Calls 2

api_binding_baseFunction · 0.85
make_stringFunction · 0.85

Tested by

no test coverage detected