summaryrefslogtreecommitdiffstats
path: root/Include/pycapsule.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/pycapsule.h')
-rw-r--r--Include/pycapsule.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/pycapsule.h b/Include/pycapsule.h
index eba82ee..d9ecda7 100644
--- a/Include/pycapsule.h
+++ b/Include/pycapsule.h
@@ -48,7 +48,9 @@ PyAPI_FUNC(int) PyCapsule_SetName(PyObject *capsule, const char *name);
PyAPI_FUNC(int) PyCapsule_SetContext(PyObject *capsule, void *context);
-PyAPI_FUNC(void *) PyCapsule_Import(const char *name, int no_block);
+PyAPI_FUNC(void *) PyCapsule_Import(
+ const char *name, /* UTF-8 encoded string */
+ int no_block);
#ifdef __cplusplus