Staging
v0.5.1
https://github.com/python/cpython
Revision 06a8dea46d593cd45391f49decf482fb3203f91b authored by Serhiy Storchaka on 21 November 2016, 09:37:18 UTC, committed by Serhiy Storchaka on 21 November 2016, 09:37:18 UTC
The fields ml_name and ml_doc are of type "const char *" rather of "char *".
1 parent aa5a13f
Raw File
Tip revision: 06a8dea46d593cd45391f49decf482fb3203f91b authored by Serhiy Storchaka on 21 November 2016, 09:37:18 UTC
Fixed the documentation of the structure PyMethodDef.
Tip revision: 06a8dea
pystrhex.h
#ifndef Py_STRHEX_H
#define Py_STRHEX_H

#ifdef __cplusplus
extern "C" {
#endif

/* Returns a str() containing the hex representation of argbuf. */
PyAPI_FUNC(PyObject*) _Py_strhex(const char* argbuf, const Py_ssize_t arglen);
/* Returns a bytes() containing the ASCII hex representation of argbuf. */
PyAPI_FUNC(PyObject*) _Py_strhex_bytes(const char* argbuf, const Py_ssize_t arglen);

#ifdef __cplusplus
}
#endif

#endif /* !Py_STRHEX_H */
back to top