Staging
v0.5.1
https://github.com/python/cpython
Revision ab89f9c27fe66b64b5907aad941d58bbc2ede14d authored by Raymond Hettinger on 22 May 2015, 23:38:16 UTC, committed by Raymond Hettinger on 22 May 2015, 23:38:16 UTC
2 parent s bd0d91e + 9ecf9e2
Raw File
Tip revision: ab89f9c27fe66b64b5907aad941d58bbc2ede14d authored by Raymond Hettinger on 22 May 2015, 23:38:16 UTC
merge
Tip revision: ab89f9c
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