commit | d7e76405c7c1afe830faf40646b704be5c51ad51 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Tue Feb 22 23:38:34 2011 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Tue Feb 22 23:38:34 2011 +0000 |
tree | e96eb484781aa763700c7494e966847452dc84b3 | |
parent | 42040fb66571cbd3929f3141d6841d2e4fe047a0 [diff] [blame] |
Issue #3080: document encoding used by import functions
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_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