File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 11
11
* - If 'data' and 'string' are both NULL, set '*res' to NULL and return 0.
12
12
* - Otherwise, set '*res' to 'data' or 'string' and return 1. A deprecation
13
13
* warning is set when 'string' is specified.
14
+ *
15
+ * The symbol is exported for '_hashlib' and HACL*-based extension modules.
14
16
*/
15
- extern int
17
+ PyAPI_FUNC ( int )
16
18
_Py_hashlib_data_argument (PyObject * * res , PyObject * data , PyObject * string );
17
19
18
20
/*
19
21
* Obtain a buffer view from a buffer-like object 'obj'.
20
22
*
21
23
* On success, store the result in 'view' and return 0.
22
24
* On error, set an exception and return -1.
25
+ *
26
+ * The symbol is exported for '_hashlib' and HACL*-based extension modules.
23
27
*/
24
- extern int
28
+ PyAPI_FUNC ( int )
25
29
_Py_hashlib_get_buffer_view (PyObject * obj , Py_buffer * view );
26
30
27
31
/*
Original file line number Diff line number Diff line change 101
101
<ClCompile Include =" ..\Modules\_hashopenssl.c" />
102
102
</ItemGroup >
103
103
<ItemGroup >
104
- <ClInclude Include =" ..\Modules\_hashlib\hashlib.h" />
105
104
<ClInclude Include =" ..\Modules\_hashlib\hashlib_buffer.h" />
106
105
<ClInclude Include =" ..\Modules\_hashlib\hashlib_fetch.h" />
107
106
<ClInclude Include =" ..\Modules\_hashlib\hashlib_mutex.h" />
You can’t perform that action at this time.
0 commit comments