Searched refs:PyCapsule (Results 1 – 8 of 8) sorted by relevance
12 } PyCapsule; typedef17 _is_legal_capsule(PyCapsule *capsule, const char *invalid_capsule) in _is_legal_capsule()46 PyCapsule *capsule; in PyCapsule_New()53 capsule = PyObject_New(PyCapsule, &PyCapsule_Type); in PyCapsule_New()70 PyCapsule *capsule = (PyCapsule *)o; in PyCapsule_IsValid()82 PyCapsule *capsule = (PyCapsule *)o; in PyCapsule_GetPointer()100 PyCapsule *capsule = (PyCapsule *)o; in PyCapsule_GetName()112 PyCapsule *capsule = (PyCapsule *)o; in PyCapsule_GetDestructor()124 PyCapsule *capsule = (PyCapsule *)o; in PyCapsule_GetContext()136 PyCapsule *capsule = (PyCapsule *)o; in PyCapsule_SetPointer()[all …]
15 .. c:type:: PyCapsule37 Return true if its argument is a :c:type:`PyCapsule`. This function always43 Create a :c:type:`PyCapsule` encapsulating the *pointer*. The *pointer*
283 PyCapsule object. The related private ``_PyUnicode_Name_CAPI`` structure was838 The private ``_PyUnicode_Name_CAPI`` structure of the PyCapsule API
512 * Added :c:type:`PyCapsule` as a replacement for the :c:type:`PyCObject` API.
1791 PyCapsule object. The related private ``_PyUnicode_Name_CAPI`` structure was2155 * The private ``_PyUnicode_Name_CAPI`` structure of the PyCapsule API
194 * The :c:type:`PyCapsule` type, used to provide a C API for extension modules.2279 Python 3.1 adds a new C datatype, :c:type:`PyCapsule`, for providing a
2656 opaque C pointers in Python objects, the :c:type:`PyCapsule` API should be used
15071 - Issue #5630: A replacement PyCObject API, PyCapsule, has been added.