Home
last modified time | relevance | path

Searched refs:PyCapsule (Results 1 – 8 of 8) sorted by relevance

/third_party/python/Objects/
Dcapsule.c12 } PyCapsule; typedef
17 _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 …]
/third_party/python/Doc/c-api/
Dcapsule.rst15 .. c:type:: PyCapsule
37 Return true if its argument is a :c:type:`PyCapsule`. This function always
43 Create a :c:type:`PyCapsule` encapsulating the *pointer*. The *pointer*
/third_party/python/Misc/NEWS.d/
D3.10.0a2.rst283 PyCapsule object. The related private ``_PyUnicode_Name_CAPI`` structure was
838 The private ``_PyUnicode_Name_CAPI`` structure of the PyCapsule API
/third_party/python/Doc/whatsnew/
D3.1.rst512 * Added :c:type:`PyCapsule` as a replacement for the :c:type:`PyCObject` API.
D3.10.rst1791 PyCapsule object. The related private ``_PyUnicode_Name_CAPI`` structure was
2155 * The private ``_PyUnicode_Name_CAPI`` structure of the PyCapsule API
D2.7.rst194 * 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
D3.2.rst2656 opaque C pointers in Python objects, the :c:type:`PyCapsule` API should be used
/third_party/python/Misc/
DHISTORY15071 - Issue #5630: A replacement PyCObject API, PyCapsule, has been added.