Home | History | Annotate | Download | only in Include

Lines Matching refs:capsule

2 /* Capsule objects let you wrap a C "void *" pointer in a Python

11 For more information, please see "c-api/capsule.html" in the
33 PyAPI_FUNC(void *) PyCapsule_GetPointer(PyObject *capsule, const char *name);
35 PyAPI_FUNC(PyCapsule_Destructor) PyCapsule_GetDestructor(PyObject *capsule);
37 PyAPI_FUNC(const char *) PyCapsule_GetName(PyObject *capsule);
39 PyAPI_FUNC(void *) PyCapsule_GetContext(PyObject *capsule);
41 PyAPI_FUNC(int) PyCapsule_IsValid(PyObject *capsule, const char *name);
43 PyAPI_FUNC(int) PyCapsule_SetPointer(PyObject *capsule, void *pointer);
45 PyAPI_FUNC(int) PyCapsule_SetDestructor(PyObject *capsule, PyCapsule_Destructor destructor);
47 PyAPI_FUNC(int) PyCapsule_SetName(PyObject *capsule, const char *name);
49 PyAPI_FUNC(int) PyCapsule_SetContext(PyObject *capsule, void *context);