Home
last modified time | relevance | path

Searched defs:capsule (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Doc/includes/
Dcapsulethunk.h8 #define __PyCapsule_GetField(capsule, field, default_value) \ argument
14 #define __PyCapsule_SetField(capsule, field, value) \ argument
23 #define PyCapsule_CheckExact(capsule) (PyCObject_Check(capsule)) argument
24 #define PyCapsule_IsValid(capsule, name) (PyCObject_Check(capsule)) argument
31 #define PyCapsule_GetPointer(capsule, name) \ argument
35 #define PyCapsule_SetPointer(capsule, pointer) \ argument
39 #define PyCapsule_GetDestructor(capsule) \ argument
42 #define PyCapsule_SetDestructor(capsule, dtor) \ argument
50 #define PyCapsule_GetName(capsule) NULL argument
53 PyCapsule_SetName(PyObject *capsule, const char *unused) in PyCapsule_SetName()
[all …]
/external/python/cpython2/Objects/
Dcapsule.c17 _is_legal_capsule(PyCapsule *capsule, const char *invalid_capsule) in _is_legal_capsule()
26 #define is_legal_capsule(capsule, name) \ argument
46 PyCapsule *capsule; in PyCapsule_New() local
70 PyCapsule *capsule = (PyCapsule *)o; in PyCapsule_IsValid() local
82 PyCapsule *capsule = (PyCapsule *)o; in PyCapsule_GetPointer() local
100 PyCapsule *capsule = (PyCapsule *)o; in PyCapsule_GetName() local
112 PyCapsule *capsule = (PyCapsule *)o; in PyCapsule_GetDestructor() local
124 PyCapsule *capsule = (PyCapsule *)o; in PyCapsule_GetContext() local
136 PyCapsule *capsule = (PyCapsule *)o; in PyCapsule_SetPointer() local
155 PyCapsule *capsule = (PyCapsule *)o; in PyCapsule_SetName() local
[all …]
/external/python/cpython2/Modules/_ctypes/
Dctypes.h468 #define CAPSULE_DEREFERENCE(capsule, name) \ argument
479 #define CAPSULE_DEREFERENCE(capsule, name) \ argument
/external/python/cpython2/Python/
Dcompile.c518 PyObject *capsule = PyCapsule_New(c->u, COMPILER_CAPSULE_NAME_COMPILER_UNIT, NULL); in compiler_enter_scope() local
541 PyObject *capsule; in compiler_exit_scope() local