(
pointer: PointerLike, name: StringLike, destructor: PointerLike
)
| 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 |
nothing calls this directly
no test coverage detected