Home
last modified time | relevance | path

Searched refs:PyCObject (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython2/Objects/
Dcobject.c22 PyCObject *self; in PyCObject_FromVoidPtr()
28 self = PyObject_NEW(PyCObject, &PyCObject_Type); in PyCObject_FromVoidPtr()
42 PyCObject *self; in PyCObject_FromVoidPtrAndDesc()
54 self = PyObject_NEW(PyCObject, &PyCObject_Type); in PyCObject_FromVoidPtrAndDesc()
73 return ((PyCObject *)self)->cobject; in PyCObject_AsVoidPtr()
88 return ((PyCObject *)self)->desc; in PyCObject_GetDesc()
117 PyCObject* cself = (PyCObject*)self; in PyCObject_SetVoidPtr()
129 PyCObject_dealloc(PyCObject *self) in PyCObject_dealloc()
152 sizeof(PyCObject), /*tp_basicsize*/
/external/python/cpython2/Doc/c-api/
Dcobject.rst16 .. c:type:: PyCObject
28 Return true if its argument is a :c:type:`PyCObject`.
33 Create a :c:type:`PyCObject` from the ``void *`` *cobj*. The *destr* function
39 Create a :c:type:`PyCObject` from the :c:type:`void \*` *cobj*. The *destr*
46 Return the object :c:type:`void \*` that the :c:type:`PyCObject` *self* was
52 Return the description :c:type:`void \*` that the :c:type:`PyCObject` *self* was
58 Set the void pointer inside *self* to *cobj*. The :c:type:`PyCObject` must not
/external/python/cpython2/Doc/includes/
Dcapsulethunk.h10 ? (((PyCObject *)capsule)->field) \
16 ? (((PyCObject *)capsule)->field = value), 1 \
116 PyCObject *cobject = (PyCObject *)object; in PyCapsule_Import()
/external/python/cpython2/Include/
Dcobject.h83 } PyCObject; typedef
/external/python/cpython2/Misc/NEWS.d/
D2.7b1.rst714 A replacement PyCObject API, PyCapsule, has been backported from Python 3.1.
/external/python/cpython3/Doc/whatsnew/
D3.1.rst512 * Added :c:type:`PyCapsule` as a replacement for the :c:type:`PyCObject` API.
D2.7.rst2289 :c:type:`PyCObject`, but it doesn't provide type safety. Evil code
2291 :c:type:`PyCObject` from module A and somehow substituting it for the
2292 :c:type:`PyCObject` in module B. Capsules know their own name,
D3.2.rst2655 * The :c:type:`PyCObject` type, deprecated in 3.1, has been removed. To wrap
/external/python/cpython2/Doc/whatsnew/
D2.7.rst2265 :c:type:`PyCObject`, but it doesn't provide type safety. Evil code
2267 :c:type:`PyCObject` from module A and somehow substituting it for the
2268 :c:type:`PyCObject` in module B. Capsules know their own name,
/external/python/cpython3/Misc/
DHISTORY13030 - The deprecated PyCObject has been removed.
15071 - Issue #5630: A replacement PyCObject API, PyCapsule, has been added.
/external/libxml2/
DChangeLog6455 PyCObject.