diff options
Diffstat (limited to 'Include/pycapsule.h')
-rw-r--r-- | Include/pycapsule.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/pycapsule.h b/Include/pycapsule.h index 17a509e..eba82ee 100644 --- a/Include/pycapsule.h +++ b/Include/pycapsule.h @@ -2,12 +2,12 @@ /* Capsule objects let you wrap a C "void *" pointer in a Python object. They're a way of passing data through the Python interpreter without creating your own custom type. - + Capsules are used for communication between extension modules. They provide a way for an extension module to export a C interface to other extension modules, so that extension modules can use the Python import mechanism to link to one another. - + For more information, please see "c-api/capsule.html" in the documentation. */ @@ -26,7 +26,7 @@ typedef void (*PyCapsule_Destructor)(PyObject *); PyAPI_FUNC(PyObject *) PyCapsule_New( - void *pointer, + void *pointer, const char *name, PyCapsule_Destructor destructor); |