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 1111 * - If 'data' and 'string' are both NULL, set '*res' to NULL and return 0.
1212 * - Otherwise, set '*res' to 'data' or 'string' and return 1. A deprecation
1313 * warning is set when 'string' is specified.
14+ *
15+ * The symbol is exported for '_hashlib' and HACL*-based extension modules.
1416 */
15- extern int
17+ PyAPI_FUNC ( int )
1618_Py_hashlib_data_argument (PyObject * * res , PyObject * data , PyObject * string );
1719
1820/*
1921 * Obtain a buffer view from a buffer-like object 'obj'.
2022 *
2123 * On success, store the result in 'view' and return 0.
2224 * On error, set an exception and return -1.
25+ *
26+ * The symbol is exported for '_hashlib' and HACL*-based extension modules.
2327 */
24- extern int
28+ PyAPI_FUNC ( int )
2529_Py_hashlib_get_buffer_view (PyObject * obj , Py_buffer * view );
2630
2731/*
Original file line number Diff line number Diff line change 101101 <ClCompile Include =" ..\Modules\_hashopenssl.c" />
102102 </ItemGroup >
103103 <ItemGroup >
104- <ClInclude Include =" ..\Modules\_hashlib\hashlib.h" />
105104 <ClInclude Include =" ..\Modules\_hashlib\hashlib_buffer.h" />
106105 <ClInclude Include =" ..\Modules\_hashlib\hashlib_fetch.h" />
107106 <ClInclude Include =" ..\Modules\_hashlib\hashlib_mutex.h" />
You can’t perform that action at this time.
0 commit comments