mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Add the files missing from c9f1630cf2b1 for issue9951.
hg status should be my friend more often...
This commit is contained in:
parent
4dff6f6fa6
commit
e3f6393b52
2 changed files with 77 additions and 0 deletions
17
Include/pystrhex.h
Normal file
17
Include/pystrhex.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
#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 */
|
Loading…
Add table
Add a link
Reference in a new issue