File tree 1 file changed +5
-2
lines changed 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -9,21 +9,24 @@ extern "C" {
9
9
#endif
10
10
11
11
// Returns a str() containing the hex representation of argbuf.
12
+ // Export for '_hashlib' shared extension.
12
13
PyAPI_FUNC (PyObject * ) _Py_strhex (const
13
14
char * argbuf ,
14
15
const Py_ssize_t arglen );
15
16
16
17
// Returns a bytes() containing the ASCII hex representation of argbuf.
17
- PyAPI_FUNC ( PyObject * ) _Py_strhex_bytes (
18
+ extern PyObject * _Py_strhex_bytes (
18
19
const char * argbuf ,
19
20
const Py_ssize_t arglen );
20
21
21
22
// 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 (
23
24
const char * argbuf ,
24
25
const Py_ssize_t arglen ,
25
26
PyObject * sep ,
26
27
const int bytes_per_group );
28
+
29
+ // Export for 'binascii' shared extension
27
30
PyAPI_FUNC (PyObject * ) _Py_strhex_bytes_with_sep (
28
31
const char * argbuf ,
29
32
const Py_ssize_t arglen ,
You can’t perform that action at this time.
0 commit comments