File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -9,21 +9,24 @@ extern "C" {
99#endif
1010
1111// Returns a str() containing the hex representation of argbuf.
12+ // Export for '_hashlib' shared extension.
1213PyAPI_FUNC (PyObject * ) _Py_strhex (const
1314 char * argbuf ,
1415 const Py_ssize_t arglen );
1516
1617// Returns a bytes() containing the ASCII hex representation of argbuf.
17- PyAPI_FUNC ( PyObject * ) _Py_strhex_bytes (
18+ extern PyObject * _Py_strhex_bytes (
1819 const char * argbuf ,
1920 const Py_ssize_t arglen );
2021
2122// These variants include support for a separator between every N bytes:
22- PyAPI_FUNC ( PyObject * ) _Py_strhex_with_sep (
23+ extern PyObject * _Py_strhex_with_sep (
2324 const char * argbuf ,
2425 const Py_ssize_t arglen ,
2526 PyObject * sep ,
2627 const int bytes_per_group );
28+
29+ // Export for 'binascii' shared extension
2730PyAPI_FUNC (PyObject * ) _Py_strhex_bytes_with_sep (
2831 const char * argbuf ,
2932 const Py_ssize_t arglen ,
You can’t perform that action at this time.
0 commit comments