Staging
v0.5.1
https://github.com/python/cpython
Revision 27be130ec71fa95e2496bd9e42505aa6c7457682 authored by Yury Selivanov on 03 July 2015, 04:41:40 UTC, committed by Yury Selivanov on 03 July 2015, 04:41:40 UTC
2 parent s 53e6230 + 09e6058
Raw File
Tip revision: 27be130ec71fa95e2496bd9e42505aa6c7457682 authored by Yury Selivanov on 03 July 2015, 04:41:40 UTC
Merge 3.4 (Issue #24450)
Tip revision: 27be130
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