mirror of https://github.com/python/cpython
adjust declaration
This commit is contained in:
parent
1334884ff2
commit
e28108cbd7
|
@ -2347,7 +2347,8 @@ static short slotoffsets[] = {
|
|||
#include "typeslots.inc"
|
||||
};
|
||||
|
||||
PyObject* PyType_FromSpec(PyType_Spec *spec)
|
||||
PyObject *
|
||||
PyType_FromSpec(PyType_Spec *spec)
|
||||
{
|
||||
PyHeapTypeObject *res = (PyHeapTypeObject*)PyType_GenericAlloc(&PyType_Type, 0);
|
||||
char *res_start = (char*)res;
|
||||
|
|
Loading…
Reference in New Issue