mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
This commit is contained in:
parent
d586559c31
commit
e93237dfcc
108 changed files with 916 additions and 908 deletions
|
@ -753,10 +753,10 @@ init_sha512(void)
|
|||
{
|
||||
PyObject *m;
|
||||
|
||||
Py_Type(&SHA384type) = &PyType_Type;
|
||||
Py_TYPE(&SHA384type) = &PyType_Type;
|
||||
if (PyType_Ready(&SHA384type) < 0)
|
||||
return;
|
||||
Py_Type(&SHA512type) = &PyType_Type;
|
||||
Py_TYPE(&SHA512type) = &PyType_Type;
|
||||
if (PyType_Ready(&SHA512type) < 0)
|
||||
return;
|
||||
m = Py_InitModule("_sha512", SHA_functions);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue