blob: 1dc125575b67a9ce97ac50e5b6789603039deb91 [file] [log] [blame]
Gregory P. Smithe3f63932015-04-26 00:41:00 +00001#ifndef Py_STRHEX_H
2#define Py_STRHEX_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8/* Returns a str() containing the hex representation of argbuf. */
9PyAPI_FUNC(PyObject*) _Py_strhex(const char* argbuf, const Py_ssize_t arglen);
10/* Returns a bytes() containing the ASCII hex representation of argbuf. */
11PyAPI_FUNC(PyObject*) _Py_strhex_bytes(const char* argbuf, const Py_ssize_t arglen);
12
13#ifdef __cplusplus
14}
15#endif
16
17#endif /* !Py_STRHEX_H */